Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.001421/0.001421, allocations: 83.02 kB / 20.68 MB, free: 1.035 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.001504/0.001504, allocations: 163.5 kB / 23.96 MB, free: 4.164 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.419/1.419, allocations: 177.1 MB / 204.3 MB, free: 9.195 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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 3.938 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.34e-05, allocations: 6.781 kB / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03881/0.03884, allocations: 33.86 MB / 358.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005751/0.04459, allocations: 4.155 MB / 363.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002897/0.04488, allocations: 15.88 kB / 363.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008391/0.04572, allocations: 278.2 kB / 363.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009226/0.04664, allocations: 0.4967 MB / 363.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004842/0.05148, allocations: 1.669 MB / 365.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001651/0.05313, allocations: 1.291 MB / 366.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002548/0.05339, allocations: 119 kB / 367 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009398/0.05433, allocations: 0.639 MB / 367.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000558/0.05488, allocations: 378.9 kB / 368 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.253e-05/0.05497, allocations: 44 kB / 368 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.05653, allocations: 0.7335 MB / 368.7 MB, free: 9.371 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.0567, allocations: 135.5 kB / 368.9 MB, free: 9.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002738/0.05698, allocations: 215.6 kB / 369.1 MB, free: 9.027 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.05862, allocations: 1.173 MB / 370.3 MB, free: 7.852 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.05863, allocations: 0 / 370.3 MB, free: 7.852 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.05863, allocations: 4 kB / 370.3 MB, free: 7.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.05864, allocations: 0 / 370.3 MB, free: 7.848 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001209/0.05985, allocations: 0.7113 MB / 371 MB, free: 7.102 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.05989, allocations: 12.03 kB / 371 MB, free: 7.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005948/0.06048, allocations: 76.62 kB / 371.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004907/0.06097, allocations: 284.9 kB / 371.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/0.06101, allocations: 33.38 kB / 371.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.446e-05/0.06107, allocations: 40.38 kB / 371.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008421/0.06192, allocations: 0.6579 MB / 372.1 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.06194, allocations: 4.188 kB / 372.1 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.987e-05/0.06199, allocations: 20.12 kB / 372.1 MB, free: 5.867 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.062, allocations: 8 kB / 372.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005029/0.0625, allocations: 303.7 kB / 372.4 MB, free: 5.562 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01322/0.07572, allocations: 4.562 MB / 377 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.07622, allocations: 255 kB / 377.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.07645, allocations: 140.8 kB / 377.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/0.08715, allocations: 2.676 MB / 380 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.0872, allocations: 38.56 kB / 380.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.984e-06/0.0872, allocations: 4 kB / 380.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.01272/0.09992, allocations: 2.316 MB / 382.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.09996, allocations: 59.41 kB / 382.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003332/0.1003, allocations: 277.8 kB / 382.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.1003, allocations: 29.7 kB / 382.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.1005, allocations: 232.4 kB / 383 MB, free: 10.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.1006, allocations: 166.6 kB / 383.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.1008, allocations: 102.3 kB / 383.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.101, allocations: 346.8 kB / 383.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/0.1012, allocations: 153.2 kB / 383.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.1016, allocations: 280.7 kB / 384 MB, free: 9.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006936/0.1023, allocations: 469.3 kB / 384.4 MB, free: 9.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1023, allocations: 3.984 kB / 384.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001148/0.1035, allocations: 0.5894 MB / 385 MB, free: 8.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1035, allocations: 4 kB / 385 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1035, allocations: 4 kB / 385 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00851/0.112, allocations: 1.844 MB / 386.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.1124, allocations: 115.8 kB / 387 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/0.1147, allocations: 2.435 MB / 389.4 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.115, allocations: 19.98 kB / 389.5 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/0.115, allocations: 20 kB / 389.5 MB, free: 4.031 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000246/0.1153, allocations: 173.7 kB / 389.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.072e-05/0.1154, allocations: 39.77 kB / 389.7 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.1167, allocations: 0.8651 MB / 390.6 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.1167, allocations: 11.98 kB / 390.6 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1167, allocations: 4 kB / 390.6 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001127/0.1178, allocations: 0.9751 MB / 391.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.1198, allocations: 1.37 MB / 392.9 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1198, allocations: 0 / 392.9 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.1201, allocations: 79.89 kB / 393 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003611/0.1238, allocations: 0.6141 MB / 393.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.22e-05/0.1238, allocations: 16 kB / 393.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.1249, allocations: 1.3 MB / 394.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1249, allocations: 3.938 kB / 394.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.1267, allocations: 1.247 MB / 396.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.721e-05/0.1268, allocations: 39.73 kB / 396.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.1268, allocations: 16.12 kB / 396.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.1271, allocations: 4 kB / 396.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.1271, allocations: 31.94 kB / 396.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/0.1272, allocations: 16 kB / 396.3 MB, free: 13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002222/0.1274, allocations: 189.2 kB / 396.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1274, allocations: 4 kB / 396.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007813/0.1282, allocations: 227.7 kB / 396.7 MB, free: 12.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008675/0.129, allocations: 294.1 kB / 397 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.1304, allocations: 0.6918 MB / 397.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.1304, allocations: 0 / 397.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.1315, allocations: 424.3 kB / 398.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.1327, allocations: 212.6 kB / 398.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.1348, allocations: 1.12 MB / 399.4 MB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.135, allocations: 241.3 kB / 399.6 MB, free: 9.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003018/0.1353, allocations: 63.36 kB / 399.7 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.759e-05/0.1354, allocations: 40.48 kB / 399.7 MB, free: 9.469 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1354, allocations: 0 / 399.7 MB, free: 9.469 MB / 366.1 MB Notification: Performance of Templates: time 0.02106/0.1564, allocations: 11.91 MB / 411.7 MB, free: 13.71 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.878645122051239]