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.001358/0.001358, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001458/0.001458, allocations: 210.2 kB / 23.73 MB, free: 4.387 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.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.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 0.001608/0.001608, allocations: 51.92 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2404, allocations: 53.37 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.04319/0.2836, allocations: 24.56 MB / 456.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007188/0.2908, allocations: 3.77 MB / 459.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003135/0.2911, allocations: 7.938 kB / 459.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000812/0.2919, allocations: 190.8 kB / 460.1 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009861/0.2929, allocations: 342.1 kB / 460.4 MB, free: 9.746 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005341/0.2983, allocations: 1.452 MB / 461.9 MB, free: 8.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001627/0.2999, allocations: 0.8951 MB / 462.8 MB, free: 7.398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.3001, allocations: 80.78 kB / 462.9 MB, free: 7.324 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009444/0.3096, allocations: 4.135 MB / 467 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006199/0.3102, allocations: 270.9 kB / 467.3 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.841e-05/0.3103, allocations: 32 kB / 467.3 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001941/0.3122, allocations: 0.6985 MB / 468 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.3124, allocations: 95.66 kB / 468.1 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003024/0.3127, allocations: 171.4 kB / 468.3 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.3146, allocations: 0.8569 MB / 469.1 MB, free: 1.066 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3146, allocations: 0 / 469.1 MB, free: 1.066 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3146, allocations: 0 / 469.1 MB, free: 1.066 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.3146, allocations: 0 / 469.1 MB, free: 1.066 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001223/0.3158, allocations: 0.5867 MB / 469.7 MB, free: 460 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3158, allocations: 8.031 kB / 469.7 MB, free: 452 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004561/0.3163, allocations: 60.73 kB / 469.8 MB, free: 392 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.3168, allocations: 222 kB / 470 MB, free: 144 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.3168, allocations: 21.03 kB / 470 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.3168, allocations: 28.31 kB / 470 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006355/0.3175, allocations: 0.4902 MB / 470.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.3175, allocations: 0 / 470.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.3175, allocations: 12 kB / 470.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.3175, allocations: 8 kB / 470.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.3179, allocations: 213.8 kB / 470.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/0.3302, allocations: 4.087 MB / 474.8 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.3305, allocations: 169.2 kB / 475 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.3306, allocations: 88.77 kB / 475.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01022/0.3409, allocations: 2.688 MB / 477.8 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.3409, allocations: 46.48 kB / 477.8 MB, free: 8.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.773e-06/0.3409, allocations: 0 / 477.8 MB, free: 8.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006279/0.3472, allocations: 1.267 MB / 479.1 MB, free: 6.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.3472, allocations: 55.34 kB / 479.1 MB, free: 6.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.3475, allocations: 236 kB / 479.4 MB, free: 6.531 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.3476, allocations: 29.7 kB / 479.4 MB, free: 6.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.3477, allocations: 196.3 kB / 479.6 MB, free: 6.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.297e-05/0.3478, allocations: 99.16 kB / 479.7 MB, free: 6.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.3479, allocations: 65.7 kB / 479.8 MB, free: 6.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3481, allocations: 334.8 kB / 480.1 MB, free: 5.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.3483, allocations: 91.95 kB / 480.2 MB, free: 5.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.3485, allocations: 182.9 kB / 480.4 MB, free: 5.484 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.349, allocations: 315 kB / 480.7 MB, free: 5.137 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.349, allocations: 0 / 480.7 MB, free: 5.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007373/0.3497, allocations: 390.8 kB / 481 MB, free: 4.742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.3498, allocations: 8 kB / 481.1 MB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3498, allocations: 4.375 kB / 481.1 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004046/0.3538, allocations: 0.928 MB / 482 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.3541, allocations: 71.91 kB / 482.1 MB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.3558, allocations: 1.848 MB / 483.9 MB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.356, allocations: 11.98 kB / 483.9 MB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.356, allocations: 16 kB / 483.9 MB, free: 1.734 MB / 382.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.0001832/0.3562, allocations: 153.9 kB / 484.1 MB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/0.3563, allocations: 31.8 kB / 484.1 MB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007747/0.357, allocations: 499 kB / 484.6 MB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.357, allocations: 4 kB / 484.6 MB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.3571, allocations: 0 / 484.6 MB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000765/0.3578, allocations: 0.7277 MB / 485.3 MB, free: 220 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.3591, allocations: 0.8479 MB / 486.2 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3591, allocations: 0 / 486.2 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.3593, allocations: 48 kB / 486.2 MB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001666/0.361, allocations: 316.4 kB / 486.5 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.361, allocations: 12.03 kB / 486.5 MB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005779/0.3616, allocations: 0.6499 MB / 487.2 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3616, allocations: 0 / 487.2 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.3626, allocations: 0.7408 MB / 487.9 MB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/0.3627, allocations: 31.78 kB / 488 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.3627, allocations: 15.92 kB / 488 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.3629, allocations: 0 / 488 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.3629, allocations: 19.97 kB / 488 MB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.3629, allocations: 8 kB / 488 MB, free: 13.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.3631, allocations: 165.6 kB / 488.2 MB, free: 13.28 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3631, allocations: 0 / 488.2 MB, free: 13.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006633/0.3637, allocations: 187.7 kB / 488.4 MB, free: 13.09 MB / 398.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.0006029/0.3644, allocations: 278.6 kB / 488.6 MB, free: 12.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008324/0.3652, allocations: 435.1 kB / 489.1 MB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3652, allocations: 0.75 kB / 489.1 MB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005256/0.3657, allocations: 235.7 kB / 489.3 MB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007979/0.3665, allocations: 136.1 kB / 489.4 MB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.3678, allocations: 0.8093 MB / 490.2 MB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.368, allocations: 168.2 kB / 490.4 MB, free: 11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001884/0.3682, allocations: 46.94 kB / 490.4 MB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.3683, allocations: 27.44 kB / 490.5 MB, free: 10.92 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.3683, allocations: 4 kB / 490.5 MB, free: 10.92 MB / 398.1 MB Notification: Performance of Templates: time 0.01704/0.3853, allocations: 9.813 MB / 0.4886 GB, free: 1.223 MB / 398.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.682497078552842]