Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.001795/0.001795, allocations: 86.31 kB / 21.99 MB, free: 5.191 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.002339/0.002339, allocations: 161.8 kB / 25.25 MB, free: 3.031 MB / 14.72 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.409/1.409, allocations: 158.6 MB / 187 MB, free: 6.246 MB / 174.1 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.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 55.92 kB / 299.4 MB, free: 6.828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2291, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.1558/0.3849, allocations: 124.1 MB / 472.6 MB, free: 2.945 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.3873, allocations: 1.627 MB / 474.3 MB, free: 1.316 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.3874, allocations: 7.938 kB / 474.3 MB, free: 1.309 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005844/0.388, allocations: 171 kB / 474.4 MB, free: 1.141 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005635/0.3886, allocations: 330.2 kB / 474.8 MB, free: 0.8164 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.3896, allocations: 415.1 kB / 475.2 MB, free: 420 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.223/0.6126, allocations: 0.8519 MB / 476 MB, free: 1.871 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.6129, allocations: 67.19 kB / 476.1 MB, free: 1.867 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00096/0.6139, allocations: 412.3 kB / 476.5 MB, free: 1.867 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005933/0.6144, allocations: 324.6 kB / 476.8 MB, free: 1.867 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.019e-05/0.6145, allocations: 32.75 kB / 476.8 MB, free: 1.867 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.6149, allocations: 129.6 kB / 477 MB, free: 1.867 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.615, allocations: 97.77 kB / 477.1 MB, free: 1.867 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.6152, allocations: 162.3 kB / 477.2 MB, free: 1.867 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006048/0.6158, allocations: 0.4899 MB / 477.7 MB, free: 1.848 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.6158, allocations: 1.094 kB / 477.7 MB, free: 1.848 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6158, allocations: 0.8906 kB / 477.7 MB, free: 1.848 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.6158, allocations: 1.219 kB / 477.7 MB, free: 1.848 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008119/0.6166, allocations: 0.5225 MB / 478.2 MB, free: 17.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.6167, allocations: 12.83 kB / 478.2 MB, free: 17.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000269/0.6169, allocations: 44.11 kB / 478.3 MB, free: 17.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.6174, allocations: 232 kB / 478.5 MB, free: 17.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.6174, allocations: 17.88 kB / 478.5 MB, free: 17.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.6174, allocations: 27.84 kB / 478.6 MB, free: 17.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.618, allocations: 0.5212 MB / 479.1 MB, free: 16.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.618, allocations: 1.375 kB / 479.1 MB, free: 16.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.618, allocations: 14.19 kB / 479.1 MB, free: 16.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.618, allocations: 7.812 kB / 479.1 MB, free: 16.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.6183, allocations: 200.4 kB / 479.3 MB, free: 16.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.6198, allocations: 0.8981 MB / 480.2 MB, free: 16.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.6201, allocations: 184.1 kB / 480.4 MB, free: 16.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.6203, allocations: 88.11 kB / 480.5 MB, free: 16.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.648e-05/0.6203, allocations: 15.45 kB / 480.5 MB, free: 16.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.6204, allocations: 39.58 kB / 480.5 MB, free: 16.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.482e-06/0.6204, allocations: 1.469 kB / 480.5 MB, free: 16.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.002181/0.6225, allocations: 0.8108 MB / 481.3 MB, free: 16.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.6226, allocations: 56.58 kB / 481.4 MB, free: 16.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.6228, allocations: 231.7 kB / 481.6 MB, free: 15.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.6228, allocations: 36.83 kB / 481.6 MB, free: 15.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.957e-05/0.6229, allocations: 183.6 kB / 481.8 MB, free: 15.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.6229, allocations: 94.33 kB / 481.9 MB, free: 15.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.257e-05/0.623, allocations: 71.7 kB / 482 MB, free: 15.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6231, allocations: 333.1 kB / 482.3 MB, free: 15.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.6233, allocations: 81.97 kB / 482.4 MB, free: 15.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.6234, allocations: 180.7 kB / 482.6 MB, free: 15.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.6237, allocations: 279.9 kB / 482.8 MB, free: 15.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6237, allocations: 3.969 kB / 482.8 MB, free: 15.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004785/0.6242, allocations: 370.3 kB / 483.2 MB, free: 15.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.6242, allocations: 4.969 kB / 483.2 MB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.6242, allocations: 4 kB / 483.2 MB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.6243, allocations: 45.53 kB / 483.3 MB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.6246, allocations: 73.64 kB / 483.3 MB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.6265, allocations: 2.52 MB / 485.8 MB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.6266, allocations: 8.688 kB / 485.9 MB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.6266, allocations: 14.91 kB / 485.9 MB, free: 12.76 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.6268, allocations: 152.8 kB / 486 MB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/0.6269, allocations: 27.5 kB / 486 MB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004379/0.6273, allocations: 283.8 kB / 486.3 MB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.6273, allocations: 3.344 kB / 486.3 MB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.6273, allocations: 3.859 kB / 486.3 MB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000494/0.6278, allocations: 0.5406 MB / 486.9 MB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007615/0.6286, allocations: 0.5842 MB / 487.5 MB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.6286, allocations: 4 kB / 487.5 MB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.6288, allocations: 57.08 kB / 487.5 MB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.592e-05/0.6289, allocations: 20.22 kB / 487.5 MB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.6289, allocations: 14.8 kB / 487.5 MB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008387/0.6298, allocations: 1.246 MB / 488.8 MB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6298, allocations: 0 / 488.8 MB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005076/0.6303, allocations: 446.4 kB / 489.2 MB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.6303, allocations: 27.81 kB / 489.3 MB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.6303, allocations: 6.219 kB / 489.3 MB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.6306, allocations: 8.5 kB / 489.3 MB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.6306, allocations: 27.19 kB / 489.3 MB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.6306, allocations: 11.97 kB / 489.3 MB, free: 10.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.6307, allocations: 168.7 kB / 489.5 MB, free: 10.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6307, allocations: 2.531 kB / 489.5 MB, free: 10.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004079/0.6312, allocations: 100.2 kB / 489.6 MB, free: 10.4 MB / 446.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): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002201/0.6314, allocations: 132 kB / 489.7 MB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000555/0.6319, allocations: 438 kB / 490.1 MB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6319, allocations: 6.469 kB / 490.1 MB, free: 10.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.6322, allocations: 210.5 kB / 490.3 MB, free: 9.973 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007663/0.6329, allocations: 134 kB / 490.5 MB, free: 9.953 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.634, allocations: 0.6785 MB / 491.2 MB, free: 9.648 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.6341, allocations: 156.4 kB / 491.3 MB, free: 9.578 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002016/0.6343, allocations: 55.95 kB / 491.4 MB, free: 9.566 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.664e-05/0.6344, allocations: 31.61 kB / 491.4 MB, free: 9.559 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.6344, allocations: 0 / 491.4 MB, free: 9.559 MB / 446.1 MB Notification: Performance of Templates: time 0.0092/0.6436, allocations: 5.654 MB / 497 MB, free: 8.996 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.04730280500371]