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.0009276/0.0009276, allocations: 87.62 kB / 21.44 MB, free: 3.121 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.003682/0.003682, allocations: 160.7 kB / 24.7 MB, free: 9.438 MB / 18.57 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 0.8702/0.8702, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.783e-06/1.783e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.109e-05, allocations: 2.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.0341/0.03414, allocations: 33.86 MB / 359.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003895/0.03803, allocations: 4.159 MB / 363.9 MB, free: 9.262 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002398/0.03827, allocations: 7.938 kB / 363.9 MB, free: 9.254 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000679/0.03895, allocations: 290.1 kB / 364.1 MB, free: 8.969 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006618/0.03961, allocations: 0.5006 MB / 364.6 MB, free: 8.465 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003815/0.04343, allocations: 1.676 MB / 366.3 MB, free: 6.789 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001076/0.0445, allocations: 1.283 MB / 367.6 MB, free: 5.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.0447, allocations: 115 kB / 367.7 MB, free: 5.387 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005767/0.04528, allocations: 0.643 MB / 368.4 MB, free: 4.742 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003522/0.04563, allocations: 378.8 kB / 368.7 MB, free: 4.371 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.216e-05/0.04568, allocations: 44 kB / 368.8 MB, free: 4.328 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.04672, allocations: 0.7296 MB / 369.5 MB, free: 3.598 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.04683, allocations: 147.5 kB / 369.6 MB, free: 3.453 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.04699, allocations: 203.7 kB / 369.8 MB, free: 3.254 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.04809, allocations: 1.169 MB / 371 MB, free: 2.082 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.04809, allocations: 0 / 371 MB, free: 2.082 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.0481, allocations: 0 / 371 MB, free: 2.082 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.0481, allocations: 4 kB / 371 MB, free: 2.078 MB / 330.7 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.0008324/0.04894, allocations: 0.7145 MB / 371.7 MB, free: 1.332 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.04897, allocations: 8.031 kB / 371.7 MB, free: 1.324 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003292/0.0493, allocations: 80.62 kB / 371.8 MB, free: 1.246 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.0497, allocations: 288.9 kB / 372.1 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.04972, allocations: 29.38 kB / 372.1 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.04978, allocations: 44.36 kB / 372.2 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000848/0.05063, allocations: 0.6618 MB / 372.8 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.05065, allocations: 8.125 kB / 372.8 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.05068, allocations: 20.12 kB / 372.9 MB, free: 88 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.0507, allocations: 12 kB / 372.9 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.05105, allocations: 303.7 kB / 373.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006605/0.05766, allocations: 4.558 MB / 377.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.05806, allocations: 254.4 kB / 378 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.05821, allocations: 136.8 kB / 378.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004637/0.06285, allocations: 2.676 MB / 380.8 MB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.06288, allocations: 30.56 kB / 380.8 MB, free: 8.027 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 2.705e-06/0.06288, allocations: 8 kB / 380.8 MB, free: 8.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.005868/0.06875, allocations: 2.324 MB / 383.1 MB, free: 5.656 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.06879, allocations: 55.41 kB / 383.2 MB, free: 5.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.06901, allocations: 273.8 kB / 383.5 MB, free: 5.316 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.06904, allocations: 41.64 kB / 383.5 MB, free: 5.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.06915, allocations: 228.4 kB / 383.7 MB, free: 5.039 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.958e-05/0.06923, allocations: 162.6 kB / 383.9 MB, free: 4.879 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.64e-05/0.06932, allocations: 94.3 kB / 384 MB, free: 4.777 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.06942, allocations: 354.7 kB / 384.3 MB, free: 4.422 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.0696, allocations: 153.2 kB / 384.5 MB, free: 4.273 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.06982, allocations: 272.7 kB / 384.7 MB, free: 3.957 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004187/0.07024, allocations: 477.2 kB / 385.2 MB, free: 3.441 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.07024, allocations: 0 / 385.2 MB, free: 3.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000654/0.07089, allocations: 0.5894 MB / 385.8 MB, free: 2.836 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.07091, allocations: 8 kB / 385.8 MB, free: 2.828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.07092, allocations: 4 kB / 385.8 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003826/0.07475, allocations: 1.851 MB / 387.7 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.07497, allocations: 103.9 kB / 387.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.07627, allocations: 2.435 MB / 390.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.07643, allocations: 16.06 kB / 390.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.07646, allocations: 20 kB / 390.2 MB, free: 14.26 MB / 362.7 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.0001737/0.07663, allocations: 181.6 kB / 390.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.07668, allocations: 43.7 kB / 390.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007676/0.07745, allocations: 0.8689 MB / 391.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.07746, allocations: 4 kB / 391.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.07746, allocations: 0 / 391.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006397/0.0781, allocations: 0.9789 MB / 392.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.07955, allocations: 1.363 MB / 393.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.07955, allocations: 0 / 393.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.07971, allocations: 75.89 kB / 393.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001414/0.08112, allocations: 0.6181 MB / 394.4 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.08115, allocations: 19.98 kB / 394.4 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005693/0.08172, allocations: 1.296 MB / 395.7 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.08172, allocations: 3.938 kB / 395.7 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009516/0.08267, allocations: 1.251 MB / 396.9 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.08273, allocations: 35.7 kB / 397 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.08276, allocations: 12.12 kB / 397 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.08287, allocations: 16 kB / 397 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.0829, allocations: 23.98 kB / 397 MB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.08293, allocations: 19.98 kB / 397 MB, free: 7.223 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.08305, allocations: 193.2 kB / 397.2 MB, free: 7.035 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08305, allocations: 0 / 397.2 MB, free: 7.035 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005323/0.08358, allocations: 235.7 kB / 397.5 MB, free: 6.805 MB / 362.7 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.0004614/0.08404, allocations: 282.7 kB / 397.7 MB, free: 6.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007748/0.08482, allocations: 0.6841 MB / 398.4 MB, free: 5.824 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.08482, allocations: 8 kB / 398.4 MB, free: 5.816 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004874/0.08531, allocations: 424.3 kB / 398.8 MB, free: 5.402 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006126/0.08592, allocations: 204.9 kB / 399 MB, free: 5.203 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.08719, allocations: 1.162 MB / 400.2 MB, free: 4.008 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.08733, allocations: 233.3 kB / 400.4 MB, free: 3.758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.786e-05/0.0874, allocations: 44.5 kB / 400.5 MB, free: 3.715 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.0874, allocations: 0 / 400.5 MB, free: 3.715 MB / 362.7 MB Notification: Performance of Templates: time 0.01066/0.09806, allocations: 13.01 MB / 413.5 MB, free: 6.715 MB / 378.7 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.646201775409281]