Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.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.001355/0.001355, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001509/0.001509, allocations: 164.8 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9779/0.9779, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1683/0.1683, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.099e-05, allocations: 5.547 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3199/0.3199, allocations: 145.3 MB / 0.5104 GB, free: 14.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004595/0.3245, allocations: 6.354 MB / 0.5166 GB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.3246, allocations: 2.625 kB / 0.5166 GB, free: 13.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.325, allocations: 96.58 kB / 0.5167 GB, free: 13.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00451/0.3295, allocations: 2.562 MB / 0.5192 GB, free: 13.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.3297, allocations: 182.3 kB / 0.5193 GB, free: 13.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006271/0.3304, allocations: 0.5661 MB / 0.5199 GB, free: 13.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.3304, allocations: 10.38 kB / 0.5199 GB, free: 13.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003677/0.3308, allocations: 314.7 kB / 0.5202 GB, free: 13.26 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005438/0.3313, allocations: 382.8 kB / 0.5206 GB, free: 13.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.3314, allocations: 13.84 kB / 0.5206 GB, free: 13.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004092/0.3355, allocations: 2.968 MB / 0.5235 GB, free: 13.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.3356, allocations: 105 kB / 0.5236 GB, free: 13.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.3357, allocations: 124.6 kB / 0.5237 GB, free: 13.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002758/0.3384, allocations: 1.958 MB / 0.5256 GB, free: 12.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3384, allocations: 0 / 0.5256 GB, free: 12.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3384, allocations: 0 / 0.5256 GB, free: 12.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.3384, allocations: 0 / 0.5256 GB, free: 12.96 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001371/0.3398, allocations: 1.01 MB / 0.5266 GB, free: 12.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3399, allocations: 15.7 kB / 0.5266 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.34, allocations: 70.44 kB / 0.5267 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.3402, allocations: 193.5 kB / 0.5269 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.39e-05/0.3403, allocations: 237.3 kB / 0.5271 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.3404, allocations: 34.75 kB / 0.5271 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.3407, allocations: 0.5542 MB / 0.5277 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.3407, allocations: 0 / 0.5277 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.3408, allocations: 15.03 kB / 0.5277 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.915e-05/0.3408, allocations: 32.92 kB / 0.5277 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/0.3412, allocations: 0.5865 MB / 0.5283 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.3424, allocations: 1.859 MB / 0.5301 GB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.3427, allocations: 211.5 kB / 0.5303 GB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.909e-05/0.3428, allocations: 82.66 kB / 0.5304 GB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/0.344, allocations: 1.087 MB / 0.5314 GB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.344, allocations: 39.92 kB / 0.5315 GB, free: 9.254 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.663e-06/0.344, allocations: 0 / 0.5315 GB, free: 9.254 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001081/0.3451, allocations: 0.6057 MB / 0.5321 GB, free: 8.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.3451, allocations: 61.03 kB / 0.5321 GB, free: 8.914 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.3452, allocations: 287.2 kB / 0.5324 GB, free: 8.699 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.3453, allocations: 35.83 kB / 0.5324 GB, free: 8.668 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.3453, allocations: 246.5 kB / 0.5327 GB, free: 8.453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.179e-05/0.3454, allocations: 160.5 kB / 0.5328 GB, free: 8.336 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.3455, allocations: 155.8 kB / 0.533 GB, free: 8.281 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.93e-05/0.3456, allocations: 0.5116 MB / 0.5335 GB, free: 7.781 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.533e-05/0.3456, allocations: 61.94 kB / 0.5335 GB, free: 7.762 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.3458, allocations: 0.4992 MB / 0.534 GB, free: 7.164 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.3462, allocations: 0.635 MB / 0.5346 GB, free: 6.527 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3462, allocations: 2.625 kB / 0.5346 GB, free: 6.527 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004961/0.3467, allocations: 0.5008 MB / 0.5351 GB, free: 6.344 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3467, allocations: 10.28 kB / 0.5351 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3467, allocations: 10.56 kB / 0.5352 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3467, allocations: 16.34 kB / 0.5352 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/0.3471, allocations: 195.6 kB / 0.5354 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004785/0.3476, allocations: 1.812 MB / 0.5371 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.3478, allocations: 20.53 kB / 0.5371 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.3478, allocations: 56.77 kB / 0.5372 GB, free: 4.465 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.3479, allocations: 197.6 kB / 0.5374 GB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.348, allocations: 43.08 kB / 0.5374 GB, free: 4.277 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000585/0.3486, allocations: 0.6283 MB / 0.538 GB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.3486, allocations: 6.75 kB / 0.5381 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.3486, allocations: 0 / 0.5381 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3486, allocations: 7.922 kB / 0.5381 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.3491, allocations: 0.5641 MB / 0.5386 GB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.3491, allocations: 0 / 0.5386 GB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.3493, allocations: 98.25 kB / 0.5387 GB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3493, allocations: 6.469 kB / 0.5387 GB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.3493, allocations: 10.08 kB / 0.5387 GB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002164/0.3496, allocations: 1.787 MB / 0.5405 GB, free: 1.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3496, allocations: 6.781 kB / 0.5405 GB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.3498, allocations: 386.7 kB / 0.5408 GB, free: 1.461 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.3498, allocations: 40.77 kB / 0.5409 GB, free: 1.438 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.3499, allocations: 13.17 kB / 0.5409 GB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.35, allocations: 20.55 kB / 0.5409 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.35, allocations: 27.36 kB / 0.5409 GB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.35, allocations: 14.59 kB / 0.541 GB, free: 1.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.111e-05/0.3501, allocations: 191.5 kB / 0.5411 GB, free: 1.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3501, allocations: 0 / 0.5411 GB, free: 1.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001118/0.3512, allocations: 433 kB / 0.5415 GB, free: 1.176 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000971/0.3522, allocations: 0.6759 MB / 0.5422 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000523/0.3527, allocations: 320.1 kB / 0.5425 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3527, allocations: 0 / 0.5425 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.3529, allocations: 129.4 kB / 0.5426 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.3534, allocations: 161.2 kB / 0.5428 GB, free: 0.668 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006377/0.3597, allocations: 5.981 MB / 0.5486 GB, free: 14.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.362e-05/0.3598, allocations: 102.4 kB / 0.5487 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005135/0.3603, allocations: 178.7 kB / 0.5489 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003476/0.3607, allocations: 231.1 kB / 0.5491 GB, free: 14.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.983e-06/0.3607, allocations: 0 / 0.5491 GB, free: 14.23 MB / 426.7 MB Notification: Performance of Templates: time 0.01679/0.3775, allocations: 16.18 MB / 0.5649 GB, free: 3.359 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.317657070234418]