Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001273/0.001273, allocations: 79.73 kB / 21.97 MB, free: 2.602 MB / 18.57 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.0009755/0.0009755, allocations: 168 kB / 25.33 MB, free: 9.445 MB / 18.57 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 0.7921/0.7921, allocations: 158.6 MB / 187.2 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] 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.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.275e-05/1.422e-05, allocations: 2.312 kB / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.0229/0.02292, allocations: 11.94 MB / 263 MB, free: 7.578 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.02491, allocations: 1.943 MB / 264.9 MB, free: 5.625 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.02503, allocations: 7.938 kB / 265 MB, free: 5.617 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003572/0.02539, allocations: 107.3 kB / 265.1 MB, free: 5.512 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00269/0.02808, allocations: 365.8 kB / 265.4 MB, free: 5.152 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002426/0.03051, allocations: 1.38 MB / 266.8 MB, free: 3.766 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000767/0.03127, allocations: 0.9416 MB / 267.7 MB, free: 2.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.03142, allocations: 68.89 kB / 267.8 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00459/0.03601, allocations: 4.253 MB / 272.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.03631, allocations: 255.2 kB / 272.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.03636, allocations: 28 kB / 272.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008913/0.03725, allocations: 0.6865 MB / 273 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.827e-05/0.03735, allocations: 99.66 kB / 273.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.03749, allocations: 143.7 kB / 273.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008359/0.03833, allocations: 0.7598 MB / 274 MB, free: 12.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.03833, allocations: 4 kB / 274 MB, free: 12.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.03833, allocations: 0 / 274 MB, free: 12.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.03833, allocations: 0 / 274 MB, free: 12.53 MB / 266.7 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.0007273/0.03906, allocations: 0.6669 MB / 274.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.0391, allocations: 11.98 kB / 274.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004054/0.0395, allocations: 120.1 kB / 274.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.03979, allocations: 240.1 kB / 275.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.03981, allocations: 21.03 kB / 275.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.03986, allocations: 28.38 kB / 275.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.04028, allocations: 458.7 kB / 275.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.04029, allocations: 4.188 kB / 275.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.04032, allocations: 16.12 kB / 275.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.04034, allocations: 11.92 kB / 275.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.04055, allocations: 134.8 kB / 275.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005953/0.04651, allocations: 4.547 MB / 280.3 MB, free: 6.059 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.04669, allocations: 131.1 kB / 280.4 MB, free: 5.918 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.808e-05/0.04676, allocations: 51.67 kB / 280.4 MB, free: 5.863 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004572/0.05133, allocations: 2.695 MB / 283.1 MB, free: 3.164 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.05136, allocations: 45.39 kB / 283.2 MB, free: 3.109 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.686e-06/0.05136, allocations: 3.938 kB / 283.2 MB, free: 3.105 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.003022/0.05438, allocations: 1.145 MB / 284.3 MB, free: 1.914 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.05441, allocations: 55.41 kB / 284.4 MB, free: 1.848 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.05457, allocations: 278.6 kB / 284.6 MB, free: 1.559 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.05459, allocations: 25.7 kB / 284.7 MB, free: 1.527 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.404e-05/0.05468, allocations: 243.1 kB / 284.9 MB, free: 1.285 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.05473, allocations: 99.16 kB / 285 MB, free: 1.188 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-05/0.0548, allocations: 67.36 kB / 285.1 MB, free: 1.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.05491, allocations: 0.5118 MB / 285.6 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.559e-05/0.05499, allocations: 55.73 kB / 285.6 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.05512, allocations: 183.7 kB / 285.8 MB, free: 308 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.05535, allocations: 263.8 kB / 286.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.05535, allocations: 0 / 286.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000367/0.05572, allocations: 336.8 kB / 286.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.05574, allocations: 10.91 kB / 286.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.05574, allocations: 4 kB / 286.4 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/0.0576, allocations: 0.9323 MB / 287.4 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.05774, allocations: 67.91 kB / 287.4 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.05875, allocations: 2.56 MB / 290 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.794e-05/0.05883, allocations: 8 kB / 290 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.05884, allocations: 16 kB / 290 MB, free: 11.89 MB / 282.7 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 8.81e-05/0.05893, allocations: 176.5 kB / 290.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.05897, allocations: 35.89 kB / 290.2 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003593/0.05933, allocations: 351.5 kB / 290.6 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.05933, allocations: 11.91 kB / 290.6 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.05933, allocations: 4 kB / 290.6 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003274/0.05966, allocations: 0.5741 MB / 291.1 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006253/0.06029, allocations: 0.7126 MB / 291.9 MB, free: 9.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.06029, allocations: 0 / 291.9 MB, free: 9.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.916e-05/0.06039, allocations: 43.91 kB / 291.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007215/0.06111, allocations: 291.2 kB / 292.2 MB, free: 9.539 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.06112, allocations: 11.92 kB / 292.2 MB, free: 9.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000288/0.06141, allocations: 0.8156 MB / 293 MB, free: 8.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.06141, allocations: 0 / 293 MB, free: 8.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.06184, allocations: 0.5282 MB / 293.5 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.06186, allocations: 23.8 kB / 293.6 MB, free: 8.098 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.06189, allocations: 12.06 kB / 293.6 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.06196, allocations: 11.98 kB / 293.6 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.06199, allocations: 15.91 kB / 293.6 MB, free: 8.059 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.062, allocations: 12 kB / 293.6 MB, free: 8.047 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.6e-05/0.06209, allocations: 189.7 kB / 293.8 MB, free: 7.863 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.06209, allocations: 0 / 293.8 MB, free: 7.863 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000332/0.06242, allocations: 183.7 kB / 294 MB, free: 7.684 MB / 282.7 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.0003602/0.06278, allocations: 278.8 kB / 294.2 MB, free: 7.398 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004191/0.0632, allocations: 416 kB / 294.7 MB, free: 6.973 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.0632, allocations: 0 / 294.7 MB, free: 6.973 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.06344, allocations: 172 kB / 294.8 MB, free: 6.801 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.06385, allocations: 147.8 kB / 295 MB, free: 6.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009091/0.06476, allocations: 0.6744 MB / 295.6 MB, free: 5.949 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.138e-05/0.06481, allocations: 97.11 kB / 295.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.06492, allocations: 50.94 kB / 295.8 MB, free: 5.781 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.06496, allocations: 24.5 kB / 295.8 MB, free: 5.758 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.06496, allocations: 0 / 295.8 MB, free: 5.758 MB / 282.7 MB Notification: Performance of Templates: time 0.09203/0.157, allocations: 10.61 MB / 306.4 MB, free: 49.11 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.238239566795528]