Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001863/0.001863, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002273/0.002273, allocations: 215.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.5 MB / 258.1 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.89 kB / 379 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2335, allocations: 53.41 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.007398/0.2409, allocations: 5.293 MB / 437.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003697/0.2446, allocations: 1.687 MB / 439.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008947/0.2455, allocations: 39.69 kB / 439.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007534/0.2462, allocations: 249.6 kB / 439.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007925/0.247, allocations: 225.7 kB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.2482, allocations: 0.5149 MB / 440.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001736/0.25, allocations: 1.399 MB / 441.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007265/0.2507, allocations: 416 kB / 442.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008291/0.2515, allocations: 494.1 kB / 442.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006313/0.2521, allocations: 441.1 kB / 443.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.2523, allocations: 124 kB / 443.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.2526, allocations: 140 kB / 443.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002244/0.2528, allocations: 259 kB / 443.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004697/0.2533, allocations: 493.5 kB / 444.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.2551, allocations: 1.644 MB / 445.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2551, allocations: 0 / 445.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2551, allocations: 4 kB / 445.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.23e-05/0.2551, allocations: 4 kB / 445.8 MB, free: 9.105 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002191/0.2573, allocations: 1.424 MB / 447.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2573, allocations: 12.03 kB / 447.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003849/0.2577, allocations: 163 kB / 447.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.259, allocations: 0.6834 MB / 448.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-05/0.2591, allocations: 98.34 kB / 448.1 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.2592, allocations: 123.9 kB / 448.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.2612, allocations: 1.322 MB / 449.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/0.2613, allocations: 3.938 kB / 449.6 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.962e-05/0.2614, allocations: 56 kB / 449.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/0.2614, allocations: 32 kB / 449.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.2627, allocations: 0.6851 MB / 450.4 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006282/0.269, allocations: 6.295 MB / 456.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007132/0.2697, allocations: 253.2 kB / 456.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003587/0.2701, allocations: 157.6 kB / 457.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.861e-05/0.2702, allocations: 8 kB / 457.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.2702, allocations: 42.55 kB / 457.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.375e-06/0.2702, allocations: 0 / 457.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002534/0.2728, allocations: 1.266 MB / 458.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.2728, allocations: 93.03 kB / 458.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008312/0.2737, allocations: 0.6724 MB / 459.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.2737, allocations: 37.64 kB / 459.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005089/0.2742, allocations: 0.7016 MB / 459.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.2743, allocations: 127 kB / 460 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.2745, allocations: 146.5 kB / 460.1 MB, free: 10.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.2747, allocations: 390.8 kB / 460.5 MB, free: 9.617 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.275, allocations: 137.9 kB / 460.7 MB, free: 9.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006135/0.2756, allocations: 0.5511 MB / 461.2 MB, free: 8.734 MB / 366.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.2768, allocations: 0.8081 MB / 462 MB, free: 7.727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.2768, allocations: 4 kB / 462 MB, free: 7.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001336/0.2781, allocations: 0.7901 MB / 462.8 MB, free: 6.922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.2781, allocations: 16.06 kB / 462.8 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.2781, allocations: 19.98 kB / 462.9 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002523/0.2784, allocations: 77.69 kB / 462.9 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/0.279, allocations: 183.7 kB / 463.1 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002767/0.2817, allocations: 3.06 MB / 466.2 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.2821, allocations: 32 kB / 466.2 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.532e-05/0.2822, allocations: 47.98 kB / 466.2 MB, free: 3.285 MB / 366.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004443/0.2826, allocations: 265 kB / 466.5 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.2828, allocations: 83.42 kB / 466.6 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.2829, allocations: 82.34 kB / 466.7 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2829, allocations: 0 / 466.7 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.2829, allocations: 4 kB / 466.7 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2829, allocations: 7.922 kB / 466.7 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.2846, allocations: 1.052 MB / 467.7 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2846, allocations: 0 / 467.7 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/0.2849, allocations: 72.05 kB / 467.8 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001979/0.2851, allocations: 53.62 kB / 467.9 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.2851, allocations: 8 kB / 467.9 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.2875, allocations: 2.789 MB / 470.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2875, allocations: 4.125 kB / 470.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009531/0.2884, allocations: 0.6443 MB / 471.3 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.2886, allocations: 67.53 kB / 471.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/0.2886, allocations: 11.92 kB / 471.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.2889, allocations: 16 kB / 471.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.2889, allocations: 31.89 kB / 471.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.2889, allocations: 8 kB / 471.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000563/0.2895, allocations: 435 kB / 471.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2895, allocations: 0 / 471.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009201/0.2904, allocations: 156 kB / 472 MB, free: 13.21 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001551/0.2906, allocations: 106.3 kB / 472.1 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.2918, allocations: 0.6437 MB / 472.8 MB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2918, allocations: 4 kB / 472.8 MB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005079/0.2923, allocations: 353.1 kB / 473.1 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.2928, allocations: 84.09 kB / 473.2 MB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.296, allocations: 1.885 MB / 475.1 MB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.2965, allocations: 450.9 kB / 475.5 MB, free: 9.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.2966, allocations: 71.41 kB / 475.6 MB, free: 9.512 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2966, allocations: 3.938 kB / 475.6 MB, free: 9.508 MB / 382.1 MB Notification: Performance of Templates: time 0.02452/0.3211, allocations: 20.06 MB / 495.6 MB, free: 5.426 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.1950649949722]