Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 119.9 kB / 17.79 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 189.2 kB / 20.73 MB, free: 2.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 249.1 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 47.92 kB / 365.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1174, allocations: 52.15 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005384/0.1228, allocations: 3.725 MB / 421.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002872/0.1257, allocations: 1.433 MB / 422.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003041/0.126, allocations: 8 kB / 422.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.128, allocations: 0.7583 MB / 423.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.1295, allocations: 0.5354 MB / 424.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009946/0.1305, allocations: 426.1 kB / 424.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007086/0.1312, allocations: 466 kB / 425.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006237/0.1318, allocations: 301.9 kB / 425.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000368/0.1322, allocations: 207.1 kB / 425.6 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/0.1325, allocations: 267 kB / 425.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.723e-05/0.1326, allocations: 43.94 kB / 425.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005087/0.1331, allocations: 203.9 kB / 426.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.847e-05/0.1332, allocations: 107.6 kB / 426.2 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.1334, allocations: 230.8 kB / 426.4 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.1345, allocations: 0.6849 MB / 427.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1345, allocations: 4 kB / 427.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1345, allocations: 0 / 427.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.1345, allocations: 0 / 427.1 MB, free: 3.207 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002371/0.1369, allocations: 0.9083 MB / 428 MB, free: 2.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.1369, allocations: 12.03 kB / 428 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/0.1371, allocations: 103.9 kB / 428.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003426/0.1405, allocations: 0.4884 MB / 428.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.1411, allocations: 303.7 kB / 428.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.1411, allocations: 41.69 kB / 429 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.1412, allocations: 52.38 kB / 429 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009954/0.1422, allocations: 0.5218 MB / 429.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.1422, allocations: 4 kB / 429.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/0.1423, allocations: 20 kB / 429.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.1423, allocations: 12 kB / 429.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.1434, allocations: 0.5751 MB / 430.2 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002942/0.1463, allocations: 1.866 MB / 432 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002364/0.1487, allocations: 2.132 MB / 434.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/0.149, allocations: 186.1 kB / 434.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.1492, allocations: 93.52 kB / 434.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.1492, allocations: 39 kB / 434.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=47): time 2.826e-06/0.1492, allocations: 0 / 434.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.002067/0.1513, allocations: 0.7973 MB / 435.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.1513, allocations: 55.84 kB / 435.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.1515, allocations: 182.3 kB / 435.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.1516, allocations: 37.7 kB / 435.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.1517, allocations: 228.9 kB / 435.8 MB, free: 9.875 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.1519, allocations: 170.5 kB / 435.9 MB, free: 9.707 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.152, allocations: 82.25 kB / 436 MB, free: 9.621 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1522, allocations: 334.8 kB / 436.3 MB, free: 9.285 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.1525, allocations: 153 kB / 436.5 MB, free: 9.133 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/0.1528, allocations: 224.8 kB / 436.7 MB, free: 8.895 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000682/0.1535, allocations: 399.4 kB / 437.1 MB, free: 8.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1535, allocations: 0 / 437.1 MB, free: 8.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001046/0.1546, allocations: 0.5358 MB / 437.6 MB, free: 7.938 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.1546, allocations: 7.938 kB / 437.6 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1546, allocations: 4 kB / 437.6 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003824/0.155, allocations: 84.8 kB / 437.7 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.1554, allocations: 95.83 kB / 437.8 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.1576, allocations: 2.041 MB / 439.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.1579, allocations: 43.67 kB / 439.9 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.158, allocations: 27.88 kB / 439.9 MB, free: 5.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002238/0.1582, allocations: 173.8 kB / 440.1 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-05/0.1582, allocations: 23.86 kB / 440.1 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.1594, allocations: 0.5434 MB / 440.7 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.1594, allocations: 4 kB / 440.7 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.1594, allocations: 4 kB / 440.7 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.1594, allocations: 3.938 kB / 440.7 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.1612, allocations: 1.131 MB / 441.8 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.1612, allocations: 3.984 kB / 441.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.1615, allocations: 71.91 kB / 441.9 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002844/0.1618, allocations: 96.86 kB / 442 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.1618, allocations: 16 kB / 442 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/0.164, allocations: 2.034 MB / 444 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.164, allocations: 0 / 444 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.1654, allocations: 0.7894 MB / 444.8 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.825e-05/0.1655, allocations: 116.8 kB / 444.9 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.1655, allocations: 8 kB / 444.9 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.1658, allocations: 20.05 kB / 445 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.987e-05/0.1659, allocations: 36.39 kB / 445 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.1659, allocations: 16 kB / 445 MB, free: 168 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001305/0.166, allocations: 132.2 kB / 445.1 MB, free: 36 kB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.166, allocations: 0 / 445.1 MB, free: 36 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.2885/0.4546, allocations: 145 kB / 445.3 MB, free: 30.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002072/0.4566, allocations: 1.368 MB / 446.6 MB, free: 29.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.4579, allocations: 0.5379 MB / 447.2 MB, free: 29.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4579, allocations: 0 / 447.2 MB, free: 29.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006483/0.4586, allocations: 359.5 kB / 447.5 MB, free: 29.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.4591, allocations: 30.08 kB / 447.6 MB, free: 29.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005745/0.4648, allocations: 3.394 MB / 451 MB, free: 27.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.4652, allocations: 0.811 MB / 451.8 MB, free: 26.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002542/0.4654, allocations: 47.25 kB / 451.8 MB, free: 26.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.4656, allocations: 145.9 kB / 452 MB, free: 26.91 MB / 366.1 MB Notification: Performance of SimCode: time 1.382e-06/0.4656, allocations: 0 / 452 MB, free: 26.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05332/0.519, allocations: 7.668 MB / 459.6 MB, free: 26.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/10.63, allocations: 6.688 kB / 459.6 MB, free: 26.14 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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: 13.073553970549256]