Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001733/0.001733, allocations: 106.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002055/0.002055, allocations: 220.4 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] 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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 63.91 kB / 376.5 MB, free: 3.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2427, allocations: 53.32 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03939/0.2821, allocations: 37.97 MB / 467.8 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005872/0.2879, allocations: 4.623 MB / 472.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003721/0.2883, allocations: 11.94 kB / 472.4 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008318/0.2891, allocations: 290.2 kB / 472.7 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.2902, allocations: 493.3 kB / 473.2 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004387/0.2946, allocations: 1.645 MB / 474.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0016/0.2962, allocations: 1.28 MB / 476.1 MB, free: 9.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.2964, allocations: 122.6 kB / 476.2 MB, free: 8.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007688/0.2972, allocations: 482.5 kB / 476.7 MB, free: 8.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006194/0.2978, allocations: 434.3 kB / 477.1 MB, free: 8.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.68e-05/0.2979, allocations: 44 kB / 477.2 MB, free: 8.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.2994, allocations: 0.7571 MB / 477.9 MB, free: 7.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.2996, allocations: 135.5 kB / 478 MB, free: 7.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003159/0.2999, allocations: 278.9 kB / 478.3 MB, free: 6.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.3014, allocations: 1.055 MB / 479.4 MB, free: 5.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3014, allocations: 8 kB / 479.4 MB, free: 5.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3014, allocations: 0 / 479.4 MB, free: 5.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.3014, allocations: 0 / 479.4 MB, free: 5.793 MB / 382.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.001289/0.3027, allocations: 0.7867 MB / 480.2 MB, free: 4.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3028, allocations: 8.031 kB / 480.2 MB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006089/0.3034, allocations: 80.62 kB / 480.3 MB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005396/0.3039, allocations: 351.5 kB / 480.6 MB, free: 4.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.304, allocations: 33.38 kB / 480.6 MB, free: 4.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.922e-05/0.304, allocations: 36.38 kB / 480.7 MB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007369/0.3048, allocations: 475.6 kB / 481.1 MB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.3048, allocations: 3.953 kB / 481.1 MB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.3048, allocations: 20 kB / 481.2 MB, free: 3.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.3048, allocations: 11.94 kB / 481.2 MB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000504/0.3053, allocations: 311.7 kB / 481.5 MB, free: 3.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01426/0.3196, allocations: 6.735 MB / 488.2 MB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.3201, allocations: 265.1 kB / 488.5 MB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.3204, allocations: 141.7 kB / 488.6 MB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01092/0.3313, allocations: 3.893 MB / 492.5 MB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.3313, allocations: 39.16 kB / 492.5 MB, free: 7.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.014e-06/0.3313, allocations: 0 / 492.5 MB, free: 7.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01215/0.3435, allocations: 2.455 MB / 495 MB, free: 5.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.3435, allocations: 59.41 kB / 495 MB, free: 5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.3439, allocations: 299.3 kB / 495.3 MB, free: 4.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.3439, allocations: 37.7 kB / 495.4 MB, free: 4.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.3441, allocations: 232.5 kB / 495.6 MB, free: 4.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.3442, allocations: 162.6 kB / 495.8 MB, free: 4.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.3444, allocations: 102.2 kB / 495.9 MB, free: 4.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3446, allocations: 346.8 kB / 496.2 MB, free: 3.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.3448, allocations: 149 kB / 496.3 MB, free: 3.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003672/0.3452, allocations: 279.7 kB / 496.6 MB, free: 3.344 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006983/0.3459, allocations: 472.3 kB / 497.1 MB, free: 2.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3459, allocations: 3.938 kB / 497.1 MB, free: 2.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001152/0.347, allocations: 0.5918 MB / 497.7 MB, free: 2.223 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.3471, allocations: 12.41 kB / 497.7 MB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.3471, allocations: 11.94 kB / 497.7 MB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008153/0.3552, allocations: 1.84 MB / 499.5 MB, free: 380 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.3556, allocations: 107.8 kB / 499.6 MB, free: 272 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.3579, allocations: 2.565 MB / 0.4904 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.3582, allocations: 15.98 kB / 0.4905 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.3582, allocations: 28 kB / 0.4905 GB, free: 13.47 MB / 414.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.000231/0.3585, allocations: 181.6 kB / 0.4907 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.3586, allocations: 39.77 kB / 0.4907 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.3599, allocations: 0.8476 MB / 0.4915 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/0.3599, allocations: 19.97 kB / 0.4915 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.3599, allocations: 0 / 0.4915 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001127/0.361, allocations: 0.9535 MB / 0.4925 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.3631, allocations: 1.478 MB / 0.4939 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.3631, allocations: 3.984 kB / 0.4939 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.3635, allocations: 75.94 kB / 0.494 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003647/0.3671, allocations: 0.6179 MB / 0.4946 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/0.3671, allocations: 15.94 kB / 0.4946 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.3682, allocations: 1.28 MB / 0.4959 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3682, allocations: 0 / 0.4959 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.3699, allocations: 1.221 MB / 0.4971 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.37, allocations: 124.8 kB / 0.4972 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.37, allocations: 12 kB / 0.4972 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.3703, allocations: 11.94 kB / 0.4972 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.3704, allocations: 27.95 kB / 0.4972 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.3704, allocations: 19.98 kB / 0.4972 GB, free: 6.281 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002342/0.3706, allocations: 210 kB / 0.4974 GB, free: 6.078 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3706, allocations: 0 / 0.4974 GB, free: 6.078 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007274/0.3714, allocations: 239.6 kB / 0.4977 GB, free: 5.844 MB / 414.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.0006302/0.372, allocations: 275 kB / 0.4979 GB, free: 5.566 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.3733, allocations: 0.6869 MB / 0.4986 GB, free: 4.867 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3733, allocations: 0 / 0.4986 GB, free: 4.867 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009339/0.3742, allocations: 420.2 kB / 0.499 GB, free: 4.457 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.3754, allocations: 232.8 kB / 0.4992 GB, free: 4.227 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.3773, allocations: 1.247 MB / 0.5004 GB, free: 2.949 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.3777, allocations: 0.8363 MB / 0.5013 GB, free: 2.082 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002565/0.378, allocations: 72.34 kB / 0.5013 GB, free: 2.012 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.967e-05/0.3781, allocations: 43.42 kB / 0.5014 GB, free: 1.969 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3781, allocations: 0 / 0.5014 GB, free: 1.969 MB / 414.1 MB Notification: Performance of Templates: time 0.02149/0.3996, allocations: 13.08 MB / 0.5141 GB, free: 4.934 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 6.211725406348705]