Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.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.001323/0.001323, allocations: 116 kB / 18.45 MB, free: 4.594 MB / 14.72 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.001374/0.001374, allocations: 208.3 kB / 21.41 MB, free: 1.637 MB / 14.72 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.503/1.503, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 55.92 kB / 374.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1189, allocations: 53.33 MB / 427.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004579/0.1235, allocations: 2.919 MB / 430.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.1249, allocations: 0.7128 MB / 431.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.1251, allocations: 8 kB / 431.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.1253, allocations: 63.36 kB / 431.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.1254, allocations: 95.19 kB / 431.3 MB, free: 480 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.1257, allocations: 79.89 kB / 431.4 MB, free: 400 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004214/0.1261, allocations: 386.8 kB / 431.7 MB, free: 12 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/0.1264, allocations: 128.5 kB / 431.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.1267, allocations: 151.5 kB / 432 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.1269, allocations: 159.3 kB / 432.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.202e-05/0.1269, allocations: 39.98 kB / 432.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.217e-05/0.127, allocations: 32 kB / 432.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.609e-05/0.1271, allocations: 67.77 kB / 432.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.1272, allocations: 179.2 kB / 432.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000448/0.1277, allocations: 394.2 kB / 432.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1277, allocations: 0 / 432.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1277, allocations: 0 / 432.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.1277, allocations: 0 / 432.9 MB, free: 14.88 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001039/0.1287, allocations: 0.6235 MB / 433.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1288, allocations: 8.031 kB / 433.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.436e-05/0.1288, allocations: 36.7 kB / 433.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.1292, allocations: 267.9 kB / 433.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.1293, allocations: 21.03 kB / 433.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-05/0.1293, allocations: 32.38 kB / 433.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005748/0.1299, allocations: 286.4 kB / 434.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1299, allocations: 0 / 434.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.13, allocations: 12 kB / 434.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.13, allocations: 8 kB / 434.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006194/0.1306, allocations: 218.5 kB / 434.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.1323, allocations: 1.018 MB / 435.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.1326, allocations: 169 kB / 435.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.1329, allocations: 120.1 kB / 435.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.133, allocations: 7.891 kB / 435.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.133, allocations: 38.56 kB / 435.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 4.879e-06/0.133, allocations: 3.984 kB / 435.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006313/0.1336, allocations: 219.2 kB / 435.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.1337, allocations: 59.34 kB / 436 MB, free: 11.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.1339, allocations: 219.1 kB / 436.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.134, allocations: 37.64 kB / 436.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.1341, allocations: 188.4 kB / 436.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.58e-05/0.1342, allocations: 87.31 kB / 436.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.563e-05/0.1343, allocations: 49.98 kB / 436.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1344, allocations: 326.8 kB / 436.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.1346, allocations: 68.52 kB / 436.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.1349, allocations: 146.5 kB / 437.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004048/0.1353, allocations: 221.2 kB / 437.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1353, allocations: 0 / 437.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005188/0.1358, allocations: 273.2 kB / 437.6 MB, free: 9.875 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1358, allocations: 4 kB / 437.6 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.1358, allocations: 4 kB / 437.6 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.1358, allocations: 4 kB / 437.6 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.1361, allocations: 76.14 kB / 437.7 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.1361, allocations: 11.94 kB / 437.7 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.1363, allocations: 31.77 kB / 437.7 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.1363, allocations: 12 kB / 437.7 MB, free: 9.734 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.1365, allocations: 141.8 kB / 437.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.1365, allocations: 23.8 kB / 437.9 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000468/0.137, allocations: 199.3 kB / 438.1 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.137, allocations: 8 kB / 438.1 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.137, allocations: 0 / 438.1 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.137, allocations: 3.984 kB / 438.1 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009246/0.1379, allocations: 0.6013 MB / 438.7 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.138, allocations: 0 / 438.7 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/0.1383, allocations: 56.03 kB / 438.7 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.1383, allocations: 0 / 438.7 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.1383, allocations: 8 kB / 438.7 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.1383, allocations: 3.984 kB / 438.7 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1383, allocations: 3.938 kB / 438.7 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006828/0.139, allocations: 375.2 kB / 439.1 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-05/0.1391, allocations: 100.9 kB / 439.2 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.1391, allocations: 11.98 kB / 439.2 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.1393, allocations: 19.98 kB / 439.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.1393, allocations: 8.109 kB / 439.3 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.1393, allocations: 16 kB / 439.3 MB, free: 8.051 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.1395, allocations: 152.7 kB / 439.4 MB, free: 7.902 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1395, allocations: 0 / 439.4 MB, free: 7.902 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003549/0.1399, allocations: 83.72 kB / 439.5 MB, free: 7.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001548/0.14, allocations: 107.2 kB / 439.6 MB, free: 7.703 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004506/0.1405, allocations: 172.2 kB / 439.8 MB, free: 7.535 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1405, allocations: 4 kB / 439.8 MB, free: 7.531 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.1406, allocations: 77.78 kB / 439.9 MB, free: 7.457 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.141, allocations: 24.66 kB / 439.9 MB, free: 7.434 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.1424, allocations: 0.8765 MB / 440.8 MB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.1428, allocations: 0.7712 MB / 441.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.036e-05/0.1429, allocations: 23.44 kB / 441.5 MB, free: 5.699 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1429, allocations: 3.938 kB / 441.6 MB, free: 5.695 MB / 366.1 MB Notification: Performance of Templates: time 0.005442/0.1484, allocations: 2.992 MB / 444.5 MB, free: 2.711 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.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: 7.280977781978436]