Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009924/0.0009924, allocations: 81.91 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 162 kB / 24.82 MB, free: 9.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.018/1.018, allocations: 177 MB / 205.1 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2546/0.2546, allocations: 34.86 MB / 296.6 MB, free: 436 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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|s_is|eps",fileNamePrefix="ModelicaTest_trunk_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|s_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 379.3 MB, free: 1.773 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098e-05/1.257e-05, allocations: 3.297 kB / 379.3 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.2793/0.2793, allocations: 145.3 MB / 0.5123 GB, free: 17.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005372/0.2847, allocations: 6.357 MB / 0.5185 GB, free: 12.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.2848, allocations: 3.062 kB / 0.5185 GB, free: 12.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003515/0.2852, allocations: 94.17 kB / 0.5186 GB, free: 12.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004929/0.2901, allocations: 2.565 MB / 0.5211 GB, free: 11.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.2904, allocations: 173 kB / 0.5213 GB, free: 11.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005505/0.2909, allocations: 0.5696 MB / 0.5218 GB, free: 11.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.291, allocations: 13.66 kB / 0.5218 GB, free: 11.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003472/0.2913, allocations: 314.2 kB / 0.5221 GB, free: 11.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005504/0.2919, allocations: 380.4 kB / 0.5225 GB, free: 11.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.2919, allocations: 14.16 kB / 0.5225 GB, free: 11.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004446/0.2964, allocations: 2.961 MB / 0.5254 GB, free: 10.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.2965, allocations: 112.3 kB / 0.5255 GB, free: 10.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.2966, allocations: 123.6 kB / 0.5256 GB, free: 10.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002982/0.2996, allocations: 1.954 MB / 0.5275 GB, free: 9.461 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2996, allocations: 3.938 kB / 0.5276 GB, free: 9.457 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2996, allocations: 0 / 0.5276 GB, free: 9.457 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.2996, allocations: 0 / 0.5276 GB, free: 9.457 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.001545/0.3011, allocations: 1.012 MB / 0.5285 GB, free: 8.777 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3012, allocations: 11.5 kB / 0.5286 GB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/0.3014, allocations: 69.8 kB / 0.5286 GB, free: 8.746 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.3016, allocations: 190.9 kB / 0.5288 GB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.192e-05/0.3016, allocations: 242.7 kB / 0.529 GB, free: 8.305 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.3017, allocations: 29.88 kB / 0.5291 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.3021, allocations: 0.5526 MB / 0.5296 GB, free: 7.848 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3021, allocations: 2.656 kB / 0.5296 GB, free: 7.848 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.3021, allocations: 18.69 kB / 0.5296 GB, free: 7.832 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-05/0.3022, allocations: 26.7 kB / 0.5296 GB, free: 7.832 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000528/0.3027, allocations: 0.5912 MB / 0.5302 GB, free: 7.766 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.3041, allocations: 1.849 MB / 0.532 GB, free: 6.312 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.3045, allocations: 209.6 kB / 0.5322 GB, free: 6.242 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.944e-05/0.3046, allocations: 82.81 kB / 0.5323 GB, free: 6.219 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001417/0.306, allocations: 1.122 MB / 0.5334 GB, free: 5.648 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.306, allocations: 46.3 kB / 0.5334 GB, free: 5.602 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.034e-06/0.306, allocations: 0 / 0.5334 GB, free: 5.602 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001151/0.3072, allocations: 0.6062 MB / 0.534 GB, free: 5.336 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.892e-05/0.3072, allocations: 60.78 kB / 0.5341 GB, free: 5.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.3073, allocations: 279.2 kB / 0.5344 GB, free: 5.047 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.3074, allocations: 32.64 kB / 0.5344 GB, free: 5.012 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.3074, allocations: 250.4 kB / 0.5346 GB, free: 4.785 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.02e-05/0.3075, allocations: 160.3 kB / 0.5348 GB, free: 4.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.3076, allocations: 148.4 kB / 0.5349 GB, free: 4.582 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.3077, allocations: 0.5116 MB / 0.5354 GB, free: 4.074 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-05/0.3078, allocations: 62.8 kB / 0.5355 GB, free: 4.066 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.308, allocations: 0.4935 MB / 0.536 GB, free: 3.477 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.3084, allocations: 0.6417 MB / 0.5366 GB, free: 2.793 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3084, allocations: 2.844 kB / 0.5366 GB, free: 2.793 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005981/0.309, allocations: 0.4913 MB / 0.5371 GB, free: 2.609 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.309, allocations: 10.91 kB / 0.5371 GB, free: 2.609 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.309, allocations: 14.64 kB / 0.5371 GB, free: 2.605 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.309, allocations: 13.81 kB / 0.5371 GB, free: 2.605 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/0.3095, allocations: 201 kB / 0.5373 GB, free: 2.578 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003087/0.3098, allocations: 1.81 MB / 0.5391 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.31, allocations: 25.91 kB / 0.5391 GB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.113e-05/0.3101, allocations: 53.36 kB / 0.5392 GB, free: 0.7422 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.0001081/0.3102, allocations: 202.1 kB / 0.5393 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-05/0.3102, allocations: 46.25 kB / 0.5394 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007175/0.311, allocations: 0.6152 MB / 0.54 GB, free: 192 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.311, allocations: 12.81 kB / 0.54 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.311, allocations: 1.969 kB / 0.54 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.311, allocations: 0 / 0.54 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006448/0.3116, allocations: 0.5804 MB / 0.5406 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3116, allocations: 0 / 0.5406 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.3119, allocations: 95.84 kB / 0.5407 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.3119, allocations: 5.906 kB / 0.5407 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.312, allocations: 11.42 kB / 0.5407 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000588/0.3125, allocations: 1.787 MB / 0.5424 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3125, allocations: 8.156 kB / 0.5424 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.3129, allocations: 384.8 kB / 0.5428 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.281e-05/0.313, allocations: 37.64 kB / 0.5428 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.313, allocations: 9.953 kB / 0.5428 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.3132, allocations: 14.27 kB / 0.5429 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.3132, allocations: 34.56 kB / 0.5429 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.3132, allocations: 15.16 kB / 0.5429 GB, free: 13.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.3133, allocations: 193 kB / 0.5431 GB, free: 13.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3133, allocations: 0 / 0.5431 GB, free: 13.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001238/0.3146, allocations: 429.7 kB / 0.5435 GB, free: 13.24 MB / 426.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.001172/0.3157, allocations: 0.6764 MB / 0.5442 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005359/0.3163, allocations: 322 kB / 0.5445 GB, free: 12.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3163, allocations: 1.688 kB / 0.5445 GB, free: 12.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.3165, allocations: 139.2 kB / 0.5446 GB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005841/0.3171, allocations: 152.5 kB / 0.5447 GB, free: 12.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006156/0.3232, allocations: 5.974 MB / 0.5506 GB, free: 8.051 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.428e-05/0.3233, allocations: 98.8 kB / 0.5507 GB, free: 7.934 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004159/0.3237, allocations: 179 kB / 0.5508 GB, free: 7.762 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003297/0.3241, allocations: 238 kB / 0.5511 GB, free: 7.527 MB / 426.7 MB Notification: Performance of SimCode: time 1.463e-06/0.3241, allocations: 0 / 0.5511 GB, free: 7.527 MB / 426.7 MB Notification: Performance of Templates: time 0.01698/0.341, allocations: 16.08 MB / 0.5668 GB, free: 7.578 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9161668769083917]