Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.00189/0.00189, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.001849/0.001849, allocations: 163.8 kB / 25.03 MB, free: 8.938 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 250.4 MB, free: 7.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.658e-05, allocations: 2.312 kB / 250.4 MB, free: 7.809 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03628/0.03631, allocations: 27.55 MB / 277.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006273/0.04258, allocations: 4.206 MB / 282.1 MB, free: 7.938 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.0428, allocations: 7.938 kB / 282.1 MB, free: 7.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007049/0.04351, allocations: 186.8 kB / 282.3 MB, free: 7.746 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007685/0.04428, allocations: 369.6 kB / 282.7 MB, free: 7.383 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004342/0.04862, allocations: 1.481 MB / 284.2 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.04988, allocations: 0.9024 MB / 285.1 MB, free: 4.988 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.05007, allocations: 68.89 kB / 285.1 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007897/0.05796, allocations: 4.283 MB / 289.4 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004725/0.05844, allocations: 263.2 kB / 289.7 MB, free: 380 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.608e-05/0.0585, allocations: 28 kB / 289.7 MB, free: 352 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.05999, allocations: 0.7022 MB / 290.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.06014, allocations: 99.66 kB / 290.5 MB, free: 15.54 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.06038, allocations: 151.7 kB / 290.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.0619, allocations: 0.9547 MB / 291.6 MB, free: 14.44 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.06191, allocations: 0 / 291.6 MB, free: 14.44 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.06191, allocations: 3.938 kB / 291.6 MB, free: 14.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.06192, allocations: 4 kB / 291.6 MB, free: 14.43 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001156/0.06307, allocations: 0.7136 MB / 292.3 MB, free: 13.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.06311, allocations: 11.98 kB / 292.3 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005449/0.06366, allocations: 112.2 kB / 292.4 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.06408, allocations: 232.1 kB / 292.7 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.06412, allocations: 21.03 kB / 292.7 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-05/0.06419, allocations: 36.38 kB / 292.7 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007336/0.06492, allocations: 0.5103 MB / 293.2 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.06494, allocations: 4.188 kB / 293.2 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/0.06499, allocations: 20.12 kB / 293.3 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.065, allocations: 4 kB / 293.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003926/0.06539, allocations: 197.8 kB / 293.5 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/0.07921, allocations: 4.644 MB / 298.1 MB, free: 7.703 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.07958, allocations: 187 kB / 298.3 MB, free: 7.508 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.07974, allocations: 83.66 kB / 298.4 MB, free: 7.422 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01131/0.09105, allocations: 2.691 MB / 301.1 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.729e-05/0.09111, allocations: 45.33 kB / 301.1 MB, free: 4.672 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 2.265e-06/0.09111, allocations: 0 / 301.1 MB, free: 4.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.006411/0.09752, allocations: 1.282 MB / 302.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.09757, allocations: 59.39 kB / 302.4 MB, free: 3.273 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/0.09793, allocations: 318.6 kB / 302.8 MB, free: 2.945 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.09796, allocations: 29.7 kB / 302.8 MB, free: 2.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.09817, allocations: 247.1 kB / 303 MB, free: 2.664 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.09828, allocations: 107.2 kB / 303.1 MB, free: 2.559 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.09842, allocations: 87.14 kB / 303.2 MB, free: 2.465 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003019/0.09872, allocations: 0.5157 MB / 303.7 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.09889, allocations: 87.97 kB / 303.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.09922, allocations: 239.6 kB / 304.1 MB, free: 1.562 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005383/0.09976, allocations: 347.7 kB / 304.4 MB, free: 1.168 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.09976, allocations: 4 kB / 304.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000808/0.1006, allocations: 408.5 kB / 304.8 MB, free: 0.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1006, allocations: 11.94 kB / 304.8 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1006, allocations: 0 / 304.8 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004516/0.1051, allocations: 0.95 MB / 305.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.1054, allocations: 67.91 kB / 305.8 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002399/0.1078, allocations: 2.649 MB / 308.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.108, allocations: 8.156 kB / 308.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.108, allocations: 20 kB / 308.5 MB, free: 12.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002152/0.1082, allocations: 192.5 kB / 308.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.828e-05/0.1083, allocations: 31.86 kB / 308.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000775/0.1091, allocations: 415.2 kB / 309.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.1091, allocations: 7.938 kB / 309.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.1091, allocations: 0 / 309.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007479/0.1098, allocations: 0.6327 MB / 309.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.1113, allocations: 0.8297 MB / 310.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1113, allocations: 0 / 310.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.1115, allocations: 47.91 kB / 310.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001844/0.1133, allocations: 303.2 kB / 310.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.1133, allocations: 8 kB / 310.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007169/0.114, allocations: 0.8585 MB / 311.8 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.114, allocations: 4 kB / 311.8 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009868/0.115, allocations: 0.6258 MB / 312.4 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.1151, allocations: 31.75 kB / 312.5 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.1151, allocations: 8 kB / 312.5 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.1153, allocations: 0 / 312.5 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.1154, allocations: 31.83 kB / 312.5 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.1154, allocations: 8 kB / 312.5 MB, free: 8.641 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002198/0.1156, allocations: 209.8 kB / 312.7 MB, free: 8.438 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1156, allocations: 64 / 312.7 MB, free: 8.438 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006976/0.1163, allocations: 191.7 kB / 312.9 MB, free: 8.25 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006505/0.1169, allocations: 282.6 kB / 313.2 MB, free: 7.961 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008941/0.1178, allocations: 472.9 kB / 313.6 MB, free: 7.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1178, allocations: 0 / 313.6 MB, free: 7.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005356/0.1184, allocations: 191.2 kB / 313.8 MB, free: 7.289 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008742/0.1193, allocations: 156.2 kB / 314 MB, free: 7.137 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.1205, allocations: 0.694 MB / 314.7 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.1207, allocations: 172.3 kB / 314.8 MB, free: 6.227 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.1209, allocations: 38.95 kB / 314.9 MB, free: 6.184 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/0.121, allocations: 32.5 kB / 314.9 MB, free: 6.152 MB / 298.7 MB Notification: Performance of SimCode: time 7.91e-07/0.121, allocations: 0 / 314.9 MB, free: 6.152 MB / 298.7 MB Notification: Performance of Templates: time 0.01821/0.1392, allocations: 9.33 MB / 324.2 MB, free: 12.87 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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: 5.47438669600524]