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: 75.75 kB / 21.25 MB, free: 396 kB / 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.00211/0.00211, allocations: 159.7 kB / 24.49 MB, free: 3.453 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.495/1.495, allocations: 177.1 MB / 204.7 MB, free: 8.98 MB / 190.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.001954/0.001954, allocations: 61.88 kB / 325.5 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0878/0.08976, allocations: 53.39 MB / 378.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03872/0.1285, allocations: 34 MB / 412.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005567/0.134, allocations: 4.175 MB / 417.1 MB, free: 9.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.1343, allocations: 11.94 kB / 417.1 MB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000764/0.135, allocations: 278.2 kB / 417.4 MB, free: 8.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000832/0.1358, allocations: 489.3 kB / 417.9 MB, free: 8.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004092/0.1399, allocations: 1.629 MB / 419.5 MB, free: 6.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001494/0.1414, allocations: 1.284 MB / 420.8 MB, free: 5.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.1417, allocations: 122.9 kB / 420.9 MB, free: 5.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006284/0.1423, allocations: 494.4 kB / 421.4 MB, free: 4.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005676/0.1429, allocations: 410.3 kB / 421.8 MB, free: 4.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.851e-05/0.1429, allocations: 44 kB / 421.8 MB, free: 4.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.1443, allocations: 0.722 MB / 422.5 MB, free: 3.715 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.1445, allocations: 147.5 kB / 422.7 MB, free: 3.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003006/0.1448, allocations: 239.2 kB / 422.9 MB, free: 3.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.1462, allocations: 1.055 MB / 424 MB, free: 2.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1462, allocations: 0 / 424 MB, free: 2.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1462, allocations: 0 / 424 MB, free: 2.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.1462, allocations: 0 / 424 MB, free: 2.277 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.001116/0.1474, allocations: 0.7191 MB / 424.7 MB, free: 1.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1474, allocations: 15.92 kB / 424.7 MB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000589/0.148, allocations: 80.62 kB / 424.8 MB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005152/0.1485, allocations: 277.8 kB / 425.1 MB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.1485, allocations: 29.38 kB / 425.1 MB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.563e-05/0.1486, allocations: 40.38 kB / 425.1 MB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008253/0.1494, allocations: 0.6653 MB / 425.8 MB, free: 316 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.1494, allocations: 7.984 kB / 425.8 MB, free: 308 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.152e-05/0.1495, allocations: 16 kB / 425.8 MB, free: 292 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.1495, allocations: 16 kB / 425.8 MB, free: 276 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005105/0.15, allocations: 299.8 kB / 426.1 MB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01295/0.163, allocations: 4.573 MB / 430.7 MB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004883/0.1634, allocations: 258.5 kB / 431 MB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.1637, allocations: 137.4 kB / 431.1 MB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01033/0.174, allocations: 2.68 MB / 433.8 MB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.174, allocations: 38.5 kB / 433.8 MB, free: 8.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.944e-06/0.174, allocations: 0 / 433.8 MB, free: 8.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01193/0.186, allocations: 2.307 MB / 436.1 MB, free: 5.848 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.186, allocations: 63.34 kB / 436.2 MB, free: 5.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.1863, allocations: 277.7 kB / 436.4 MB, free: 5.492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.1864, allocations: 37.7 kB / 436.5 MB, free: 5.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.1865, allocations: 228.5 kB / 436.7 MB, free: 5.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.1867, allocations: 166.5 kB / 436.9 MB, free: 5.059 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.1868, allocations: 94.34 kB / 437 MB, free: 4.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.187, allocations: 346.8 kB / 437.3 MB, free: 4.609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.1873, allocations: 149.2 kB / 437.4 MB, free: 4.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.1877, allocations: 276.7 kB / 437.7 MB, free: 4.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007168/0.1884, allocations: 481.3 kB / 438.2 MB, free: 3.625 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1884, allocations: 4 kB / 438.2 MB, free: 3.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001107/0.1895, allocations: 0.5893 MB / 438.8 MB, free: 3.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1895, allocations: 8.469 kB / 438.8 MB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.1895, allocations: 7.938 kB / 438.8 MB, free: 3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007895/0.1974, allocations: 1.85 MB / 440.6 MB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004278/0.1979, allocations: 107.8 kB / 440.7 MB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.2, allocations: 2.435 MB / 443.2 MB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.2003, allocations: 12.25 kB / 443.2 MB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.2003, allocations: 28 kB / 443.2 MB, free: 14.43 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.0002213/0.2005, allocations: 177.6 kB / 443.4 MB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.564e-05/0.2006, allocations: 39.7 kB / 443.4 MB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.2019, allocations: 0.869 MB / 444.3 MB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.2019, allocations: 4 kB / 444.3 MB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.2019, allocations: 3.938 kB / 444.3 MB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001118/0.203, allocations: 0.9788 MB / 445.3 MB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.205, allocations: 1.367 MB / 446.7 MB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.205, allocations: 0 / 446.7 MB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.2053, allocations: 75.91 kB / 446.7 MB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003375/0.2087, allocations: 0.6181 MB / 447.3 MB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/0.2087, allocations: 19.97 kB / 447.4 MB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.2098, allocations: 1.296 MB / 448.7 MB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2098, allocations: 4.031 kB / 448.7 MB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.2115, allocations: 1.251 MB / 449.9 MB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.709e-05/0.2116, allocations: 35.7 kB / 450 MB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.136e-05/0.2116, allocations: 12 kB / 450 MB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.2118, allocations: 12.12 kB / 450 MB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.2119, allocations: 31.98 kB / 450 MB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.2119, allocations: 19.98 kB / 450 MB, free: 7.387 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000206/0.2121, allocations: 193.1 kB / 450.2 MB, free: 7.199 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2121, allocations: 0 / 450.2 MB, free: 7.199 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007436/0.2129, allocations: 235.7 kB / 450.4 MB, free: 6.969 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.000554/0.2134, allocations: 266.7 kB / 450.7 MB, free: 6.699 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.2147, allocations: 0.684 MB / 451.4 MB, free: 6.004 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2147, allocations: 0 / 451.4 MB, free: 6.004 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009418/0.2156, allocations: 436.1 kB / 451.8 MB, free: 5.578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.2167, allocations: 208.9 kB / 452 MB, free: 5.375 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.2186, allocations: 1.239 MB / 453.3 MB, free: 4.117 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.2188, allocations: 229.3 kB / 453.5 MB, free: 3.867 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002471/0.219, allocations: 71.34 kB / 453.6 MB, free: 3.797 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.117e-05/0.2191, allocations: 36.5 kB / 453.6 MB, free: 3.762 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2191, allocations: 4 kB / 453.6 MB, free: 3.758 MB / 414.1 MB Notification: Performance of Templates: time 0.02055/0.2397, allocations: 11.95 MB / 465.5 MB, free: 7.93 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/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.165652952971868]