Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001859/0.001859, allocations: 84.25 kB / 21.99 MB, free: 4.746 MB / 14.72 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.002179/0.002179, allocations: 153.4 kB / 25.25 MB, free: 2.742 MB / 14.72 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 1.31/1.31, allocations: 158.6 MB / 187 MB, free: 6.348 MB / 174.1 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 56.3 kB / 299.4 MB, free: 6.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2061, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05895/0.2651, allocations: 45.56 MB / 394.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006479/0.2716, allocations: 4.697 MB / 398.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.2717, allocations: 7.938 kB / 398.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007807/0.2725, allocations: 238.6 kB / 399 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007326/0.2733, allocations: 373.9 kB / 399.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01682/0.2901, allocations: 6.775 MB / 406.2 MB, free: 5.695 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001483/0.2916, allocations: 1.115 MB / 407.3 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.2918, allocations: 97.81 kB / 407.4 MB, free: 4.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007258/0.299, allocations: 3.618 MB / 411 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006437/0.2997, allocations: 406.5 kB / 411.4 MB, free: 468 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.2998, allocations: 56 kB / 411.4 MB, free: 412 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01779/0.3176, allocations: 9.178 MB / 420.6 MB, free: 7.211 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004285/0.318, allocations: 231.4 kB / 420.8 MB, free: 6.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004799/0.3185, allocations: 263.1 kB / 421.1 MB, free: 6.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01334/0.3318, allocations: 5.413 MB / 426.5 MB, free: 1.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.3318, allocations: 0 / 426.5 MB, free: 1.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3318, allocations: 4 kB / 426.5 MB, free: 1.297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.3318, allocations: 0 / 426.5 MB, free: 1.297 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003391/0.3352, allocations: 1.308 MB / 427.8 MB, free: 15.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3353, allocations: 11.98 kB / 427.8 MB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003619/0.3356, allocations: 55.72 kB / 427.9 MB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005865/0.3362, allocations: 320 kB / 428.2 MB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.3363, allocations: 33 kB / 428.2 MB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.538e-05/0.3363, allocations: 43.95 kB / 428.3 MB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.3379, allocations: 0.8932 MB / 429.2 MB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.3379, allocations: 4 kB / 429.2 MB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-05/0.338, allocations: 20 kB / 429.2 MB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.338, allocations: 8 kB / 429.2 MB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.3394, allocations: 0.7456 MB / 429.9 MB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01242/0.3518, allocations: 3.585 MB / 433.5 MB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.3531, allocations: 0.5009 MB / 434 MB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/0.3535, allocations: 246.2 kB / 434.3 MB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01058/0.3641, allocations: 2.573 MB / 436.8 MB, free: 6.766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.17e-05/0.3641, allocations: 39.06 kB / 436.9 MB, free: 6.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.374e-06/0.3641, allocations: 0 / 436.9 MB, free: 6.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.005941/0.3701, allocations: 1.892 MB / 438.8 MB, free: 4.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.3701, allocations: 55.91 kB / 438.8 MB, free: 4.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.3704, allocations: 269.6 kB / 439.1 MB, free: 4.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.173e-05/0.3705, allocations: 37.7 kB / 439.1 MB, free: 4.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.3706, allocations: 213.2 kB / 439.3 MB, free: 4.191 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.3708, allocations: 198.3 kB / 439.5 MB, free: 3.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.371, allocations: 118.3 kB / 439.6 MB, free: 3.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3711, allocations: 338.8 kB / 440 MB, free: 3.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/0.3715, allocations: 245.1 kB / 440.2 MB, free: 3.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000665/0.3722, allocations: 344.3 kB / 440.5 MB, free: 2.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.3734, allocations: 0.6007 MB / 441.1 MB, free: 2.293 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3734, allocations: 0 / 441.1 MB, free: 2.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001833/0.3752, allocations: 0.7456 MB / 441.9 MB, free: 1.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3753, allocations: 8.281 kB / 441.9 MB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.3753, allocations: 8 kB / 441.9 MB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004651/0.3757, allocations: 114.3 kB / 442 MB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/0.3762, allocations: 123.9 kB / 442.1 MB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/0.3791, allocations: 3.223 MB / 445.4 MB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/0.3794, allocations: 12 kB / 445.4 MB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.3794, allocations: 31.98 kB / 445.4 MB, free: 13.78 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems 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,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002787/0.3797, allocations: 193.6 kB / 445.6 MB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002791/0.38, allocations: 47.95 kB / 445.6 MB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.3816, allocations: 0.8088 MB / 446.5 MB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.3816, allocations: 8 kB / 446.5 MB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.3816, allocations: 0 / 446.5 MB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001165/0.3827, allocations: 0.765 MB / 447.2 MB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.3848, allocations: 1.127 MB / 448.4 MB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.3848, allocations: 0 / 448.4 MB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004396/0.3852, allocations: 99.88 kB / 448.5 MB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008895/0.3861, allocations: 152.7 kB / 448.6 MB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.3862, allocations: 15.98 kB / 448.6 MB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004714/0.3866, allocations: 0.6523 MB / 449.3 MB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3866, allocations: 3.938 kB / 449.3 MB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.3883, allocations: 0.8995 MB / 450.2 MB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.3884, allocations: 39.8 kB / 450.2 MB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.888e-05/0.3885, allocations: 15.94 kB / 450.2 MB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.3888, allocations: 19.98 kB / 450.2 MB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/0.3889, allocations: 40.42 kB / 450.3 MB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.384e-05/0.389, allocations: 23.98 kB / 450.3 MB, free: 8.668 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002697/0.3893, allocations: 217.2 kB / 450.5 MB, free: 8.457 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3893, allocations: 3.938 kB / 450.5 MB, free: 8.453 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003877/0.3931, allocations: 1.329 MB / 451.9 MB, free: 7.121 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005199/0.3983, allocations: 1.721 MB / 453.6 MB, free: 5.383 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.4, allocations: 0.7698 MB / 454.3 MB, free: 4.586 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4, allocations: 4 kB / 454.3 MB, free: 4.582 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005761/0.4006, allocations: 283.5 kB / 454.6 MB, free: 4.305 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.4018, allocations: 217.8 kB / 454.8 MB, free: 4.094 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.4038, allocations: 1.108 MB / 455.9 MB, free: 2.945 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.4041, allocations: 237.3 kB / 456.2 MB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004457/0.4045, allocations: 135.2 kB / 456.3 MB, free: 2.562 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.4047, allocations: 56.42 kB / 456.4 MB, free: 2.508 MB / 414.1 MB Notification: Performance of SimCode: time 4.9e-07/0.4047, allocations: 0 / 456.4 MB, free: 2.508 MB / 414.1 MB Notification: Performance of Templates: time 0.2124/0.617, allocations: 45.42 MB / 0.49 GB, free: 95.79 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 13.139491852023639]