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.001402/0.001402, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001591/0.001591, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.502/1.502, allocations: 177 MB / 204.5 MB, free: 5.633 MB / 186.7 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 1.713e-06/1.713e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.578e-05, allocations: 6.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.008335/0.008361, allocations: 5.286 MB / 277.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00406/0.01242, allocations: 1.702 MB / 279.2 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009583/0.01338, allocations: 39.69 kB / 279.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009164/0.0143, allocations: 245.6 kB / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.01539, allocations: 241.5 kB / 279.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.01702, allocations: 0.5187 MB / 280.3 MB, free: 9.723 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002379/0.0194, allocations: 1.426 MB / 281.7 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.02059, allocations: 420.2 kB / 282.1 MB, free: 7.859 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001677/0.02226, allocations: 0.7328 MB / 282.8 MB, free: 7.125 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008114/0.02308, allocations: 338.7 kB / 283.2 MB, free: 6.793 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003344/0.02341, allocations: 124 kB / 283.3 MB, free: 6.672 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004263/0.02384, allocations: 136 kB / 283.4 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.02423, allocations: 274.9 kB / 283.7 MB, free: 6.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007389/0.02496, allocations: 391 kB / 284.1 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002152/0.02712, allocations: 1.627 MB / 285.7 MB, free: 4.254 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.02712, allocations: 0 / 285.7 MB, free: 4.254 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.02712, allocations: 0 / 285.7 MB, free: 4.254 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.256e-05/0.02719, allocations: 4 kB / 285.7 MB, free: 4.25 MB / 266.7 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.003035/0.03022, allocations: 1.413 MB / 287.1 MB, free: 2.801 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.03027, allocations: 12.03 kB / 287.1 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006069/0.03087, allocations: 271 kB / 287.4 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.03226, allocations: 0.7342 MB / 288.1 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.03237, allocations: 94.41 kB / 288.2 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.03255, allocations: 123.9 kB / 288.3 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.03497, allocations: 1.314 MB / 289.6 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.039e-05/0.03501, allocations: 11.89 kB / 289.7 MB, free: 40 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.1202/0.1552, allocations: 51.23 kB / 289.7 MB, free: 28.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.461e-05/0.1553, allocations: 33.84 kB / 289.7 MB, free: 28.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.1569, allocations: 0.6779 MB / 290.4 MB, free: 28.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004587/0.1614, allocations: 6.342 MB / 296.8 MB, free: 22.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006862/0.1621, allocations: 246.9 kB / 297 MB, free: 22.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003582/0.1625, allocations: 157.6 kB / 297.2 MB, free: 22.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.811e-05/0.1626, allocations: 15.22 kB / 297.2 MB, free: 22.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.1626, allocations: 40.45 kB / 297.2 MB, free: 22.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.974e-06/0.1626, allocations: 1.469 kB / 297.2 MB, free: 22.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002359/0.165, allocations: 1.285 MB / 298.5 MB, free: 21.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.165, allocations: 81.36 kB / 298.6 MB, free: 21.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000811/0.1658, allocations: 0.6783 MB / 299.3 MB, free: 21.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1658, allocations: 32.89 kB / 299.3 MB, free: 21.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/0.1662, allocations: 0.7071 MB / 300 MB, free: 20.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.492e-05/0.1662, allocations: 123.1 kB / 300.1 MB, free: 20.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.1664, allocations: 139.2 kB / 300.2 MB, free: 20.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1665, allocations: 388.2 kB / 300.6 MB, free: 20.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.1668, allocations: 146 kB / 300.8 MB, free: 20.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/0.1672, allocations: 0.5551 MB / 301.3 MB, free: 19.62 MB / 266.7 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.0008924/0.1681, allocations: 0.8035 MB / 302.1 MB, free: 18.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.1681, allocations: 4.281 kB / 302.1 MB, free: 18.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001305/0.1694, allocations: 0.8336 MB / 303 MB, free: 18.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.1695, allocations: 12.16 kB / 303 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/0.1695, allocations: 15.16 kB / 303 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003127/0.1698, allocations: 85.92 kB / 303.1 MB, free: 18.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005561/0.1704, allocations: 185.2 kB / 303.3 MB, free: 18.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.1722, allocations: 3.065 MB / 306.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/0.1726, allocations: 35.69 kB / 306.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/0.1727, allocations: 41.39 kB / 306.4 MB, free: 15.54 MB / 266.7 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.0003629/0.1731, allocations: 269.4 kB / 306.7 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.1732, allocations: 92.28 kB / 306.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.1733, allocations: 70.94 kB / 306.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1733, allocations: 3.562 kB / 306.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.1733, allocations: 5.75 kB / 306.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1733, allocations: 2.016 kB / 306.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.1749, allocations: 1.064 MB / 307.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.1749, allocations: 1.625 kB / 307.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.1752, allocations: 63.47 kB / 308 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001782/0.1754, allocations: 66.89 kB / 308 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.1754, allocations: 8.719 kB / 308 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.1768, allocations: 2.792 MB / 310.8 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1768, allocations: 2.328 kB / 310.8 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008057/0.1776, allocations: 0.6505 MB / 311.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.378e-05/0.1777, allocations: 60.09 kB / 311.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.253e-05/0.1778, allocations: 11.88 kB / 311.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.178, allocations: 16.34 kB / 311.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.858e-05/0.1781, allocations: 34.06 kB / 311.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.1781, allocations: 15.67 kB / 311.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005002/0.1786, allocations: 433.3 kB / 312 MB, free: 11.17 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1786, allocations: 0 / 312 MB, free: 11.17 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009713/0.1796, allocations: 155.2 kB / 312.2 MB, free: 11.16 MB / 266.7 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.0001133/0.1797, allocations: 108.4 kB / 312.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009783/0.1807, allocations: 0.6392 MB / 312.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1807, allocations: 0 / 312.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.1811, allocations: 350.9 kB / 313.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.1816, allocations: 81.11 kB / 313.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.1841, allocations: 1.748 MB / 315.1 MB, free: 9.316 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.1844, allocations: 451.2 kB / 315.5 MB, free: 9.027 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002312/0.1846, allocations: 89.92 kB / 315.6 MB, free: 8.938 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.733e-05/0.1847, allocations: 56.48 kB / 315.7 MB, free: 8.883 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.1847, allocations: 0 / 315.7 MB, free: 8.883 MB / 266.7 MB Notification: Performance of Templates: time 0.01054/0.1953, allocations: 5.263 MB / 320.9 MB, free: 3.781 MB / 266.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/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: 4.602131292107515]