Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 166.2 kB / 25 MB, free: 8.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 273.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.915e-05, allocations: 2.312 kB / 273.1 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.004877/0.004896, allocations: 5.72 MB / 278.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002592/0.007488, allocations: 1.714 MB / 280.5 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000511/0.007999, allocations: 39.69 kB / 280.5 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004209/0.00842, allocations: 249.6 kB / 280.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004093/0.008829, allocations: 229.6 kB / 281 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008714/0.009701, allocations: 0.5303 MB / 281.5 MB, free: 9.309 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.01098, allocations: 1.426 MB / 283 MB, free: 7.875 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004781/0.01146, allocations: 416.3 kB / 283.4 MB, free: 7.445 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006106/0.01207, allocations: 0.7289 MB / 284.1 MB, free: 6.715 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004223/0.01249, allocations: 350.7 kB / 284.4 MB, free: 6.371 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.01259, allocations: 120 kB / 284.6 MB, free: 6.254 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.01275, allocations: 140 kB / 284.7 MB, free: 6.117 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.01288, allocations: 271 kB / 285 MB, free: 5.852 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.01312, allocations: 398.9 kB / 285.4 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007614/0.01388, allocations: 0.9453 MB / 286.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.01388, allocations: 0 / 286.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01388, allocations: 0 / 286.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.0139, allocations: 0 / 286.3 MB, free: 4.512 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.001335/0.01523, allocations: 1.525 MB / 287.8 MB, free: 2.945 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.01527, allocations: 8.031 kB / 287.8 MB, free: 2.938 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005738/0.01584, allocations: 259 kB / 288.1 MB, free: 2.684 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007543/0.0166, allocations: 0.7486 MB / 288.8 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.002e-05/0.01665, allocations: 90.41 kB / 288.9 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.835e-05/0.01675, allocations: 123.9 kB / 289 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.01789, allocations: 1.235 MB / 290.3 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.01791, allocations: 11.88 kB / 290.3 MB, free: 212 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/0.01797, allocations: 52 kB / 290.3 MB, free: 160 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.018, allocations: 32 kB / 290.4 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1236/0.1416, allocations: 450.3 kB / 290.8 MB, free: 27.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005879/0.1475, allocations: 8.392 MB / 299.2 MB, free: 20.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007083/0.1482, allocations: 210.1 kB / 299.4 MB, free: 20.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.1485, allocations: 135.2 kB / 299.5 MB, free: 20.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.1486, allocations: 9.984 kB / 299.5 MB, free: 20.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.1486, allocations: 42.69 kB / 299.6 MB, free: 20.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 3.547e-06/0.1486, allocations: 0 / 299.6 MB, free: 20.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.00216/0.1508, allocations: 1.14 MB / 300.7 MB, free: 19.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.1508, allocations: 81.52 kB / 300.8 MB, free: 19.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008945/0.1517, allocations: 0.6871 MB / 301.5 MB, free: 19.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1517, allocations: 31.14 kB / 301.5 MB, free: 19.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004347/0.1522, allocations: 0.7484 MB / 302.3 MB, free: 18.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.395e-05/0.1523, allocations: 116.7 kB / 302.4 MB, free: 18.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.1524, allocations: 152.8 kB / 302.5 MB, free: 18.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1526, allocations: 0.5565 MB / 303.1 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.1528, allocations: 78.69 kB / 303.2 MB, free: 18.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005048/0.1533, allocations: 0.6672 MB / 303.8 MB, free: 17.35 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.001005/0.1543, allocations: 0.8636 MB / 304.7 MB, free: 16.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/0.1543, allocations: 3.688 kB / 304.7 MB, free: 16.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001136/0.1555, allocations: 0.7089 MB / 305.4 MB, free: 16.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.1555, allocations: 12.31 kB / 305.4 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.1555, allocations: 14.69 kB / 305.4 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003046/0.1558, allocations: 87.42 kB / 305.5 MB, free: 16.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.1563, allocations: 180.2 kB / 305.7 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/0.1579, allocations: 4.129 MB / 309.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.1583, allocations: 30.62 kB / 309.9 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.1583, allocations: 44.08 kB / 309.9 MB, free: 12 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.0003059/0.1586, allocations: 225.8 kB / 310.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.815e-05/0.1587, allocations: 83.31 kB / 310.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.901e-05/0.1588, allocations: 79.64 kB / 310.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1588, allocations: 3.125 kB / 310.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.1588, allocations: 6.625 kB / 310.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1588, allocations: 1.969 kB / 310.3 MB, free: 11.7 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.1601, allocations: 1.075 MB / 311.4 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1601, allocations: 1.031 kB / 311.4 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.1603, allocations: 66.22 kB / 311.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/0.1604, allocations: 62 kB / 311.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.1604, allocations: 7.594 kB / 311.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.1615, allocations: 3.796 MB / 315.3 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1615, allocations: 9.656 kB / 315.3 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005059/0.162, allocations: 0.6326 MB / 315.9 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/0.1621, allocations: 63.75 kB / 316 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.1621, allocations: 7.719 kB / 316 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.1622, allocations: 19.09 kB / 316 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.1623, allocations: 29.75 kB / 316.1 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.1623, allocations: 11.16 kB / 316.1 MB, free: 6.613 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003557/0.1627, allocations: 415.9 kB / 316.5 MB, free: 6.422 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1627, allocations: 0 / 316.5 MB, free: 6.422 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000762/0.1634, allocations: 155.1 kB / 316.6 MB, free: 6.406 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.0001188/0.1636, allocations: 110.2 kB / 316.7 MB, free: 6.309 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007362/0.1643, allocations: 0.684 MB / 317.4 MB, free: 5.848 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1643, allocations: 9.5 kB / 317.4 MB, free: 5.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002573/0.1646, allocations: 442.3 kB / 317.9 MB, free: 5.465 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.165, allocations: 70.72 kB / 317.9 MB, free: 5.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.1674, allocations: 1.724 MB / 319.7 MB, free: 4.379 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.1676, allocations: 179.5 kB / 319.8 MB, free: 4.301 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.1678, allocations: 83.16 kB / 319.9 MB, free: 4.281 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.093e-05/0.1679, allocations: 58.19 kB / 320 MB, free: 4.27 MB / 266.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1679, allocations: 1.5 kB / 320 MB, free: 4.27 MB / 266.7 MB Notification: Performance of Templates: time 0.009424/0.1773, allocations: 5.309 MB / 325.3 MB, free: 120 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.959042432019487]