Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 190.3 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 47.92 kB / 370.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2376, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03972/0.2774, allocations: 33.92 MB / 457 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005798/0.2832, allocations: 4.16 MB / 461.2 MB, free: 8.238 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.2834, allocations: 11.94 kB / 461.2 MB, free: 8.227 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007856/0.2842, allocations: 274.3 kB / 461.4 MB, free: 7.957 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008678/0.285, allocations: 489.3 kB / 461.9 MB, free: 7.477 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004243/0.2893, allocations: 1.63 MB / 463.5 MB, free: 5.852 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001502/0.2908, allocations: 1.292 MB / 464.8 MB, free: 4.555 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000236/0.291, allocations: 118.9 kB / 464.9 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006535/0.2917, allocations: 494.4 kB / 465.4 MB, free: 3.945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005444/0.2922, allocations: 406.3 kB / 465.8 MB, free: 3.547 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.601e-05/0.2923, allocations: 48 kB / 465.9 MB, free: 3.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.2937, allocations: 0.7414 MB / 466.6 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.2939, allocations: 135.6 kB / 466.7 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002685/0.2941, allocations: 243.1 kB / 467 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.2955, allocations: 1.056 MB / 468 MB, free: 1.328 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2955, allocations: 3.938 kB / 468 MB, free: 1.324 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2955, allocations: 0 / 468 MB, free: 1.324 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.2955, allocations: 0 / 468 MB, free: 1.324 MB / 366.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.001129/0.2966, allocations: 0.7076 MB / 468.8 MB, free: 0.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2967, allocations: 8.922 kB / 468.8 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005769/0.2972, allocations: 76.62 kB / 468.8 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005406/0.2978, allocations: 281.7 kB / 469.1 MB, free: 204 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/0.2978, allocations: 41.3 kB / 469.2 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.595e-05/0.2979, allocations: 40.38 kB / 469.2 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008383/0.2987, allocations: 0.6614 MB / 469.9 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.2987, allocations: 4 kB / 469.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/0.2988, allocations: 16 kB / 469.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.2988, allocations: 12 kB / 469.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005025/0.2993, allocations: 299.7 kB / 470.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01298/0.3123, allocations: 4.573 MB / 474.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/0.3128, allocations: 258.3 kB / 475 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.313, allocations: 132.8 kB / 475.1 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0104/0.3234, allocations: 2.704 MB / 477.8 MB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.3234, allocations: 38.42 kB / 477.9 MB, free: 7.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.974e-06/0.3234, allocations: 0 / 477.9 MB, free: 7.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01176/0.3352, allocations: 2.311 MB / 480.2 MB, free: 4.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.3352, allocations: 59.34 kB / 480.2 MB, free: 4.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.3356, allocations: 273.8 kB / 480.5 MB, free: 4.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.3356, allocations: 33.7 kB / 480.5 MB, free: 4.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.3358, allocations: 228.4 kB / 480.8 MB, free: 4.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.3359, allocations: 174.5 kB / 480.9 MB, free: 4.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.336, allocations: 98.3 kB / 481 MB, free: 4.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3362, allocations: 346.8 kB / 481.4 MB, free: 3.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.3365, allocations: 153.2 kB / 481.5 MB, free: 3.508 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.3369, allocations: 272.7 kB / 481.8 MB, free: 3.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007055/0.3376, allocations: 476.2 kB / 482.3 MB, free: 2.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3376, allocations: 0 / 482.3 MB, free: 2.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00112/0.3387, allocations: 0.5883 MB / 482.8 MB, free: 2.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3387, allocations: 11.94 kB / 482.9 MB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3387, allocations: 7.938 kB / 482.9 MB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008041/0.3468, allocations: 1.846 MB / 484.7 MB, free: 228 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004288/0.3472, allocations: 111.8 kB / 484.8 MB, free: 116 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.3494, allocations: 2.439 MB / 487.3 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.3497, allocations: 12 kB / 487.3 MB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/0.3497, allocations: 31.98 kB / 487.3 MB, free: 13.48 MB / 398.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.0002334/0.35, allocations: 169.7 kB / 487.5 MB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.268e-05/0.3501, allocations: 39.7 kB / 487.5 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.3514, allocations: 0.8801 MB / 488.4 MB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.3514, allocations: 4 kB / 488.4 MB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3514, allocations: 3.984 kB / 488.4 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001183/0.3526, allocations: 0.9825 MB / 489.4 MB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.3547, allocations: 1.351 MB / 490.7 MB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.3547, allocations: 4 kB / 490.7 MB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/0.355, allocations: 75.89 kB / 490.8 MB, free: 9.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003402/0.3584, allocations: 0.6178 MB / 491.4 MB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.943e-05/0.3585, allocations: 15.98 kB / 491.4 MB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.3596, allocations: 1.296 MB / 492.7 MB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.3596, allocations: 4.031 kB / 492.7 MB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.3613, allocations: 1.246 MB / 494 MB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.307e-05/0.3614, allocations: 43.78 kB / 494 MB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.886e-05/0.3615, allocations: 12 kB / 494 MB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.3617, allocations: 12.03 kB / 494 MB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.3618, allocations: 27.95 kB / 494.1 MB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.3618, allocations: 19.98 kB / 494.1 MB, free: 6.449 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002174/0.362, allocations: 193.1 kB / 494.3 MB, free: 6.258 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.362, allocations: 0 / 494.3 MB, free: 6.258 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007499/0.3628, allocations: 235.7 kB / 494.5 MB, free: 6.027 MB / 398.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.0005886/0.3634, allocations: 274.9 kB / 494.8 MB, free: 5.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.3646, allocations: 0.6834 MB / 495.5 MB, free: 5.059 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3646, allocations: 0 / 495.5 MB, free: 5.059 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009422/0.3656, allocations: 421.1 kB / 495.9 MB, free: 4.648 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.3667, allocations: 208.7 kB / 496.1 MB, free: 4.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.3687, allocations: 1.253 MB / 497.3 MB, free: 3.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.3689, allocations: 233.3 kB / 497.6 MB, free: 2.922 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002511/0.3692, allocations: 63.36 kB / 497.6 MB, free: 2.859 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.245e-05/0.3693, allocations: 39.44 kB / 497.7 MB, free: 2.82 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3693, allocations: 0 / 497.7 MB, free: 2.82 MB / 398.1 MB Notification: Performance of Templates: time 0.02117/0.3904, allocations: 12.78 MB / 0.4985 GB, free: 6.199 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.126395268365741]