Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001322/0.001322, allocations: 82.36 kB / 20.68 MB, free: 1.027 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.001484/0.001484, allocations: 163.8 kB / 23.95 MB, free: 4.156 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.438/1.438, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.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.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.073e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03013/0.03016, allocations: 24.48 MB / 349.5 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00549/0.03565, allocations: 3.762 MB / 353.3 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/0.03591, allocations: 7.938 kB / 353.3 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007794/0.03669, allocations: 194.7 kB / 353.5 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008011/0.03749, allocations: 361.7 kB / 353.9 MB, free: 8.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004871/0.04236, allocations: 1.499 MB / 355.4 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.04367, allocations: 0.8945 MB / 356.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.04388, allocations: 72.06 kB / 356.3 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007707/0.05159, allocations: 4.275 MB / 360.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004417/0.05203, allocations: 251.2 kB / 360.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.581e-05/0.0521, allocations: 28 kB / 360.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.05362, allocations: 0.71 MB / 361.6 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.05376, allocations: 99.64 kB / 361.7 MB, free: 472 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.05397, allocations: 147.7 kB / 361.8 MB, free: 324 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.0554, allocations: 0.9587 MB / 362.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.0554, allocations: 0 / 362.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.0554, allocations: 0 / 362.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.05541, allocations: 0 / 362.8 MB, free: 15.36 MB / 334.1 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.0009674/0.05638, allocations: 0.5789 MB / 363.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.05641, allocations: 8.031 kB / 363.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004631/0.05687, allocations: 60.67 kB / 363.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.05726, allocations: 237.2 kB / 363.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.05729, allocations: 17.03 kB / 363.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.05734, allocations: 28.38 kB / 363.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006618/0.058, allocations: 486.4 kB / 364.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.05802, allocations: 8.125 kB / 364.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/0.05807, allocations: 24.11 kB / 364.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.05808, allocations: 4 kB / 364.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.05844, allocations: 205.8 kB / 364.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01279/0.07123, allocations: 4.086 MB / 368.5 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/0.07159, allocations: 174.5 kB / 368.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.07174, allocations: 84.77 kB / 368.7 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01081/0.08254, allocations: 2.676 MB / 371.4 MB, free: 6.492 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.08258, allocations: 34.5 kB / 371.5 MB, free: 6.449 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.255e-06/0.08259, allocations: 0 / 371.5 MB, free: 6.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.00654/0.08913, allocations: 1.269 MB / 372.7 MB, free: 5.141 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.08917, allocations: 55.41 kB / 372.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.08945, allocations: 236 kB / 373 MB, free: 4.836 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.08948, allocations: 29.7 kB / 373 MB, free: 4.801 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.08963, allocations: 192.3 kB / 373.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.097e-05/0.08971, allocations: 99.2 kB / 373.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.08982, allocations: 73.66 kB / 373.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.08999, allocations: 334.8 kB / 373.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.09017, allocations: 87.97 kB / 373.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.09042, allocations: 186.9 kB / 374 MB, free: 3.785 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/0.09089, allocations: 307 kB / 374.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.09089, allocations: 4 kB / 374.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007478/0.09164, allocations: 391 kB / 374.7 MB, free: 3.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.09166, allocations: 11.94 kB / 374.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.09167, allocations: 0 / 374.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004266/0.09593, allocations: 0.9347 MB / 375.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.09622, allocations: 67.84 kB / 375.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.09805, allocations: 1.848 MB / 377.5 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.09824, allocations: 8 kB / 377.5 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.09827, allocations: 15.98 kB / 377.6 MB, free: 44 kB / 334.1 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.0002123/0.09849, allocations: 149.8 kB / 377.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/0.09855, allocations: 27.84 kB / 377.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008225/0.09938, allocations: 0.4982 MB / 378.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/0.09939, allocations: 12 kB / 378.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.09939, allocations: 0 / 378.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007898/0.1002, allocations: 0.7238 MB / 379 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.1016, allocations: 0.841 MB / 379.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.1016, allocations: 0 / 379.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.1018, allocations: 47.97 kB / 379.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001811/0.1036, allocations: 328.2 kB / 380.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.1036, allocations: 11.98 kB / 380.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00061/0.1042, allocations: 0.6461 MB / 380.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1042, allocations: 0 / 380.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.1053, allocations: 0.7294 MB / 381.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.1054, allocations: 27.78 kB / 381.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.1054, allocations: 8 kB / 381.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.1056, allocations: 12.11 kB / 381.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.1056, allocations: 23.91 kB / 381.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.1056, allocations: 8 kB / 381.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.1058, allocations: 165.6 kB / 381.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1058, allocations: 0 / 381.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007064/0.1065, allocations: 183.7 kB / 382 MB, free: 11.41 MB / 350.1 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.0006362/0.1072, allocations: 285.8 kB / 382.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008564/0.108, allocations: 442.7 kB / 382.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.108, allocations: 0 / 382.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005631/0.1086, allocations: 232.4 kB / 382.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008645/0.1095, allocations: 140.2 kB / 383.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.1107, allocations: 0.7318 MB / 383.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.1109, allocations: 168.3 kB / 384 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.1111, allocations: 46.95 kB / 384 MB, free: 9.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.619e-05/0.1111, allocations: 32.5 kB / 384 MB, free: 9.293 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1111, allocations: 0 / 384 MB, free: 9.293 MB / 350.1 MB Notification: Performance of Templates: time 0.01639/0.1275, allocations: 9.251 MB / 393.3 MB, free: 156 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.496467616409063]