Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001164/0.001164, allocations: 97.84 kB / 16.99 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001502/0.001503, allocations: 200.1 kB / 17.9 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 227.2 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002056/0.0002057, allocations: 8 kB / 306.6 MB, free: 1.398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08221/0.08243, allocations: 51.49 MB / 358.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1757/0.2582, allocations: 16.39 MB / 374.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005929/0.2641, allocations: 4.767 MB / 379.2 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004288/0.2646, allocations: 5.75 kB / 379.2 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007255/0.2654, allocations: 171.7 kB / 379.4 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006949/0.2661, allocations: 226.1 kB / 379.6 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004459/0.2705, allocations: 1.202 MB / 380.8 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008292/0.2714, allocations: 0.4932 MB / 381.3 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.2716, allocations: 76.03 kB / 381.4 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0108/0.2824, allocations: 7.238 MB / 388.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.2827, allocations: 160.9 kB / 388.8 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/0.2828, allocations: 15.03 kB / 388.8 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.2844, allocations: 0.7318 MB / 389.5 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.2846, allocations: 64.17 kB / 389.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.2847, allocations: 100.2 kB / 389.7 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.2858, allocations: 0.6046 MB / 390.3 MB, free: 8.543 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2858, allocations: 0 / 390.3 MB, free: 8.543 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.2858, allocations: 0 / 390.3 MB, free: 8.543 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.2858, allocations: 0 / 390.3 MB, free: 8.543 MB / 302.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.000943/0.2867, allocations: 0.5895 MB / 390.9 MB, free: 8.066 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2868, allocations: 9.25 kB / 390.9 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000457/0.2872, allocations: 56.95 kB / 390.9 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.2876, allocations: 278 kB / 391.2 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.2876, allocations: 23.48 kB / 391.2 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.049e-05/0.2877, allocations: 26.09 kB / 391.3 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.2881, allocations: 330.2 kB / 391.6 MB, free: 7.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.2881, allocations: 1.281 kB / 391.6 MB, free: 7.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.2882, allocations: 15.47 kB / 391.6 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.2882, allocations: 7.219 kB / 391.6 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.2885, allocations: 206.6 kB / 391.8 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01134/0.2999, allocations: 5.92 MB / 397.7 MB, free: 3.406 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.3002, allocations: 177.9 kB / 397.9 MB, free: 3.309 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009243/0.3095, allocations: 3.88 MB / 401.8 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.3096, allocations: 34.75 kB / 401.8 MB, free: 15.49 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.284e-06/0.3096, allocations: 3.938 kB / 401.8 MB, free: 15.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006355/0.3159, allocations: 1.416 MB / 403.2 MB, free: 14.01 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.316, allocations: 55.41 kB / 403.3 MB, free: 13.95 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.3163, allocations: 254.6 kB / 403.5 MB, free: 13.69 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.3164, allocations: 29.7 kB / 403.6 MB, free: 13.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.3165, allocations: 192 kB / 403.8 MB, free: 13.46 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.134e-05/0.3166, allocations: 100.7 kB / 403.9 MB, free: 13.37 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.3166, allocations: 4 kB / 403.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3167, allocations: 342.8 kB / 404.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.3169, allocations: 87.95 kB / 404.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.3171, allocations: 179.1 kB / 404.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.3173, allocations: 128.4 kB / 404.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3174, allocations: 0 / 404.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006617/0.318, allocations: 387 kB / 405 MB, free: 12.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3181, allocations: 8 kB / 405 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.3181, allocations: 4 kB / 405 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003302/0.3214, allocations: 415.8 kB / 405.4 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.3217, allocations: 67.91 kB / 405.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.3231, allocations: 1.883 MB / 407.3 MB, free: 9.672 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.3234, allocations: 20.28 kB / 407.4 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.3234, allocations: 19.98 kB / 407.4 MB, free: 9.633 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001754/0.3236, allocations: 166.9 kB / 407.5 MB, free: 9.461 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.3237, allocations: 23.72 kB / 407.6 MB, free: 9.438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006971/0.3244, allocations: 494.1 kB / 408 MB, free: 8.938 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.3244, allocations: 7.984 kB / 408 MB, free: 8.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.3244, allocations: 0 / 408 MB, free: 8.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006138/0.325, allocations: 0.7202 MB / 408.8 MB, free: 8.121 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.3263, allocations: 0.9446 MB / 409.7 MB, free: 7.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.3263, allocations: 4 kB / 409.7 MB, free: 7.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.3265, allocations: 47.95 kB / 409.8 MB, free: 7.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001734/0.3282, allocations: 320.4 kB / 410.1 MB, free: 6.754 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.3283, allocations: 11.98 kB / 410.1 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004422/0.3287, allocations: 0.6344 MB / 410.7 MB, free: 6.082 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3287, allocations: 0 / 410.7 MB, free: 6.082 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008915/0.3296, allocations: 0.7379 MB / 411.5 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.3297, allocations: 104.9 kB / 411.6 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.3298, allocations: 15.94 kB / 411.6 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.33, allocations: 11.95 kB / 411.6 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.3301, allocations: 19.97 kB / 411.6 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.3301, allocations: 11.98 kB / 411.6 MB, free: 5.133 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.3303, allocations: 186 kB / 411.8 MB, free: 4.953 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3303, allocations: 0 / 411.8 MB, free: 4.953 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007873/0.3311, allocations: 187.9 kB / 412 MB, free: 4.77 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005619/0.3316, allocations: 278.3 kB / 412.3 MB, free: 4.508 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007354/0.3324, allocations: 458.7 kB / 412.7 MB, free: 4.047 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3324, allocations: 0 / 412.7 MB, free: 4.047 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004771/0.3329, allocations: 232.2 kB / 412.9 MB, free: 3.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008944/0.3338, allocations: 161.7 kB / 413.1 MB, free: 3.668 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.3351, allocations: 0.9559 MB / 414 MB, free: 2.688 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.3354, allocations: 0.7841 MB / 414.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002086/0.3357, allocations: 50.95 kB / 414.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.3357, allocations: 31.42 kB / 414.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3357, allocations: 0 / 414.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of Templates: time 0.01503/0.3508, allocations: 9.379 MB / 424.3 MB, free: 8.473 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches