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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 104.5 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 193.5 kB / 22.76 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] 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.001518/0.001518, allocations: 51.92 kB / 369.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2572, allocations: 52.13 MB / 421.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04014/0.2974, allocations: 37.63 MB / 458.9 MB, free: 9.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006589/0.3039, allocations: 4.58 MB / 463.5 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004662/0.3044, allocations: 15.94 kB / 463.5 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000989/0.3054, allocations: 298.1 kB / 463.8 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.3065, allocations: 485.3 kB / 464.3 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004983/0.3115, allocations: 1.641 MB / 465.9 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001832/0.3133, allocations: 1.28 MB / 467.2 MB, free: 1.109 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002957/0.3136, allocations: 130.5 kB / 467.3 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000812/0.3144, allocations: 486.5 kB / 467.8 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005831/0.315, allocations: 434.3 kB / 468.2 MB, free: 72 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.021e-05/0.3151, allocations: 44 kB / 468.3 MB, free: 28 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.3169, allocations: 0.7649 MB / 469 MB, free: 15.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.3171, allocations: 135.5 kB / 469.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003244/0.3174, allocations: 282.9 kB / 469.5 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.3189, allocations: 1.052 MB / 470.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3189, allocations: 0 / 470.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.319, allocations: 4 kB / 470.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.319, allocations: 0 / 470.5 MB, free: 13.79 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.001196/0.3202, allocations: 0.7789 MB / 471.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3202, allocations: 8.031 kB / 471.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006105/0.3208, allocations: 84.62 kB / 471.4 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.3213, allocations: 347.5 kB / 471.7 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.3214, allocations: 33.31 kB / 471.7 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.087e-05/0.3214, allocations: 40.31 kB / 471.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000733/0.3222, allocations: 479.4 kB / 472.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.3222, allocations: 0 / 472.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.489e-05/0.3222, allocations: 20 kB / 472.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.3222, allocations: 8 kB / 472.3 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004817/0.3227, allocations: 303.7 kB / 472.6 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01409/0.3368, allocations: 6.739 MB / 479.3 MB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000505/0.3373, allocations: 265.6 kB / 479.6 MB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.3375, allocations: 136.8 kB / 479.7 MB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01066/0.3482, allocations: 3.889 MB / 483.6 MB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.451e-05/0.3482, allocations: 46.42 kB / 483.6 MB, free: 15.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.314e-06/0.3482, allocations: 0 / 483.6 MB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01211/0.3604, allocations: 2.459 MB / 486.1 MB, free: 13.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.3604, allocations: 59.39 kB / 486.2 MB, free: 13.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.3608, allocations: 299.3 kB / 486.5 MB, free: 12.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.3608, allocations: 33.7 kB / 486.5 MB, free: 12.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.361, allocations: 232.4 kB / 486.7 MB, free: 12.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.3611, allocations: 166.6 kB / 486.9 MB, free: 12.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.3613, allocations: 102.2 kB / 487 MB, free: 12.17 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3614, allocations: 346.8 kB / 487.3 MB, free: 11.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.3617, allocations: 149.1 kB / 487.5 MB, free: 11.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.3621, allocations: 275.7 kB / 487.7 MB, free: 11.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006813/0.3628, allocations: 476.2 kB / 488.2 MB, free: 10.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3628, allocations: 0 / 488.2 MB, free: 10.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001145/0.3639, allocations: 0.5918 MB / 488.8 MB, free: 10.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.3639, allocations: 8 kB / 488.8 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.3639, allocations: 4.469 kB / 488.8 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008901/0.3728, allocations: 1.847 MB / 490.6 MB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.3733, allocations: 111.8 kB / 490.8 MB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.3757, allocations: 2.565 MB / 493.3 MB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/0.376, allocations: 12.12 kB / 493.3 MB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.3761, allocations: 28 kB / 493.4 MB, free: 5.488 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.0002667/0.3763, allocations: 181.5 kB / 493.5 MB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.324e-05/0.3764, allocations: 43.77 kB / 493.6 MB, free: 5.258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.3777, allocations: 0.8474 MB / 494.4 MB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/0.3778, allocations: 11.98 kB / 494.4 MB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3778, allocations: 8 kB / 494.4 MB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001091/0.3789, allocations: 0.9496 MB / 495.4 MB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.381, allocations: 1.489 MB / 496.9 MB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.381, allocations: 0 / 496.9 MB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.3813, allocations: 75.91 kB / 497 MB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003556/0.3849, allocations: 0.6217 MB / 497.6 MB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-05/0.385, allocations: 15.94 kB / 497.6 MB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.3861, allocations: 1.284 MB / 498.9 MB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3861, allocations: 3.938 kB / 498.9 MB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.3879, allocations: 1.217 MB / 0.4884 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.388, allocations: 120.8 kB / 0.4885 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.086e-05/0.3881, allocations: 12 kB / 0.4885 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.3883, allocations: 15.94 kB / 0.4885 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.3884, allocations: 23.95 kB / 0.4885 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.3884, allocations: 23.92 kB / 0.4886 GB, free: 14.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002532/0.3887, allocations: 210 kB / 0.4888 GB, free: 14.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3887, allocations: 0 / 0.4888 GB, free: 14.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008893/0.3896, allocations: 235.7 kB / 0.489 GB, free: 13.85 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.0006356/0.3902, allocations: 274.8 kB / 0.4893 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.3916, allocations: 0.675 MB / 0.4899 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3916, allocations: 0 / 0.4899 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000965/0.3925, allocations: 412.3 kB / 0.4903 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.3938, allocations: 240.8 kB / 0.4905 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.3959, allocations: 1.29 MB / 0.4918 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.3964, allocations: 0.84 MB / 0.4926 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.3965, allocations: 43.44 kB / 0.4927 GB, free: 10.01 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3965, allocations: 0 / 0.4927 GB, free: 10.01 MB / 414.1 MB Notification: Performance of Templates: time 0.01809/0.4146, allocations: 13.04 MB / 0.5054 GB, free: 12.98 MB / 430.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/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