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.001428/0.001428, allocations: 84.69 kB / 21.43 MB, free: 296 kB / 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.001508/0.001508, allocations: 164 kB / 24.7 MB, free: 3.547 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.34/1.34, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] 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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.716e-05, allocations: 6.219 kB / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2024/0.2024, allocations: 45.44 MB / 344.4 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005177/0.2076, allocations: 4.697 MB / 349.1 MB, free: 5.547 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.2078, allocations: 8.062 kB / 349.1 MB, free: 5.543 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000751/0.2086, allocations: 228.9 kB / 349.3 MB, free: 5.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000612/0.2092, allocations: 388.5 kB / 349.7 MB, free: 5.203 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01527/0.2245, allocations: 6.87 MB / 356.6 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.2257, allocations: 1.108 MB / 357.7 MB, free: 240 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.2259, allocations: 95.52 kB / 357.8 MB, free: 180 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007358/0.2332, allocations: 3.77 MB / 361.6 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005737/0.2338, allocations: 375.2 kB / 361.9 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.456e-05/0.2339, allocations: 59.19 kB / 362 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01812/0.252, allocations: 9.212 MB / 371.2 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003951/0.2524, allocations: 239.3 kB / 371.4 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004973/0.2529, allocations: 239.6 kB / 371.7 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01473/0.2676, allocations: 6.653 MB / 378.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2676, allocations: 0 / 378.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2676, allocations: 0 / 378.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.2676, allocations: 0 / 378.3 MB, free: 13.82 MB / 334.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.003431/0.2711, allocations: 1.297 MB / 379.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2711, allocations: 15.98 kB / 379.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003727/0.2715, allocations: 67.64 kB / 379.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000554/0.272, allocations: 300.3 kB / 380 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.2721, allocations: 37 kB / 380 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.2722, allocations: 40.62 kB / 380.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.2738, allocations: 0.8971 MB / 381 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.2738, allocations: 0 / 381 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.685e-05/0.2739, allocations: 24 kB / 381 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.2739, allocations: 12 kB / 381 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.2754, allocations: 0.7378 MB / 381.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0134/0.2888, allocations: 3.584 MB / 385.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.2902, allocations: 0.5049 MB / 385.8 MB, free: 6.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004042/0.2906, allocations: 242.3 kB / 386.1 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01121/0.3018, allocations: 2.573 MB / 388.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.208e-05/0.3018, allocations: 44.03 kB / 388.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 2.475e-06/0.3018, allocations: 4 kB / 388.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.006098/0.3079, allocations: 1.893 MB / 390.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.308, allocations: 55.91 kB / 390.6 MB, free: 1.281 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.3083, allocations: 269.6 kB / 390.9 MB, free: 1.012 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.462e-05/0.3084, allocations: 41.7 kB / 390.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.3086, allocations: 205.3 kB / 391.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.3087, allocations: 202.2 kB / 391.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.3089, allocations: 114.3 kB / 391.4 MB, free: 456 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.3091, allocations: 346.8 kB / 391.8 MB, free: 100 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004343/0.3095, allocations: 241.2 kB / 392 MB, free: 15.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007075/0.3103, allocations: 340.3 kB / 392.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.3115, allocations: 0.6084 MB / 393 MB, free: 14.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3116, allocations: 7.938 kB / 393 MB, free: 14.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001997/0.3135, allocations: 0.742 MB / 393.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3136, allocations: 12 kB / 393.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3136, allocations: 0 / 393.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005156/0.3141, allocations: 106.5 kB / 393.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005335/0.3146, allocations: 127.8 kB / 393.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002925/0.3175, allocations: 3.212 MB / 397.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.3178, allocations: 19.97 kB / 397.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/0.3179, allocations: 31.98 kB / 397.2 MB, free: 10.34 MB / 350.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.0002927/0.3182, allocations: 194 kB / 397.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/0.3185, allocations: 43.81 kB / 397.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/0.3202, allocations: 0.8088 MB / 398.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3202, allocations: 4 kB / 398.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3202, allocations: 3.938 kB / 398.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001287/0.3215, allocations: 0.765 MB / 399 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.3236, allocations: 1.119 MB / 400.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/0.3237, allocations: 4 kB / 400.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004638/0.3241, allocations: 103.9 kB / 400.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000973/0.3251, allocations: 148.6 kB / 400.4 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.737e-05/0.3251, allocations: 19.98 kB / 400.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005148/0.3257, allocations: 0.6485 MB / 401.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3257, allocations: 0 / 401.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.3275, allocations: 0.8994 MB / 402 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.073e-05/0.3276, allocations: 39.78 kB / 402 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.618e-05/0.3277, allocations: 8 kB / 402 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.3281, allocations: 27.92 kB / 402 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.202e-05/0.3281, allocations: 36.42 kB / 402.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.928e-05/0.3282, allocations: 31.98 kB / 402.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002561/0.3285, allocations: 221.2 kB / 402.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3285, allocations: 0 / 402.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003998/0.3325, allocations: 1.321 MB / 403.6 MB, free: 3.707 MB / 350.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.006129/0.3386, allocations: 1.889 MB / 405.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.3402, allocations: 0.7737 MB / 406.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.3402, allocations: 0 / 406.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005883/0.3408, allocations: 284.2 kB / 406.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.3421, allocations: 229 kB / 406.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.344, allocations: 1.009 MB / 407.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.3443, allocations: 233.4 kB / 408 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000444/0.3447, allocations: 131.3 kB / 408.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.3449, allocations: 56.47 kB / 408.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3449, allocations: 0 / 408.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of Templates: time 0.06879/0.4137, allocations: 45.64 MB / 453.9 MB, free: 1.301 MB / 398.1 MB " [Timeout remaining time 660] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/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.078659851104021]