Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.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.0008181/0.0008181, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003413/0.003413, allocations: 163.3 kB / 24.7 MB, free: 9.43 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.8591/0.8591, allocations: 177.1 MB / 205 MB, free: 5.727 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.2527/0.2527, allocations: 32.79 MB / 294.2 MB, free: 1.207 MB / 266.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.SimpleAir,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.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,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.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 440.9 MB, free: 3.719 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.744e-05, allocations: 8.469 kB / 440.9 MB, free: 3.711 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.2718/0.2719, allocations: 119.7 MB / 0.5475 GB, free: 12.64 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003712/0.2756, allocations: 4.246 MB / 0.5516 GB, free: 8.402 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.2757, allocations: 4 kB / 0.5516 GB, free: 8.398 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004049/0.2761, allocations: 55.59 kB / 0.5517 GB, free: 8.344 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.2777, allocations: 0.7766 MB / 0.5524 GB, free: 7.562 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.2779, allocations: 157.5 kB / 0.5526 GB, free: 7.414 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003957/0.2783, allocations: 389.8 kB / 0.5529 GB, free: 7.031 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.2784, allocations: 5.812 kB / 0.5529 GB, free: 7.027 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.2786, allocations: 211.4 kB / 0.5531 GB, free: 6.82 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.2788, allocations: 179.6 kB / 0.5533 GB, free: 6.645 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.2788, allocations: 8 kB / 0.5533 GB, free: 6.637 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007515/0.2795, allocations: 0.612 MB / 0.5539 GB, free: 6.023 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.328e-05/0.2796, allocations: 39.83 kB / 0.554 GB, free: 5.984 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.204e-05/0.2797, allocations: 95.75 kB / 0.554 GB, free: 5.891 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000515/0.2802, allocations: 498.6 kB / 0.5545 GB, free: 5.402 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2802, allocations: 0 / 0.5545 GB, free: 5.402 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2802, allocations: 0 / 0.5545 GB, free: 5.402 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.2802, allocations: 0 / 0.5545 GB, free: 5.402 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007764/0.281, allocations: 0.5291 MB / 0.555 GB, free: 4.848 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.281, allocations: 12.03 kB / 0.5551 GB, free: 4.836 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.2811, allocations: 32.31 kB / 0.5551 GB, free: 4.809 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.2814, allocations: 169.5 kB / 0.5552 GB, free: 4.617 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.2815, allocations: 230.6 kB / 0.5555 GB, free: 4.344 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.2815, allocations: 24.38 kB / 0.5555 GB, free: 4.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.282, allocations: 0.4948 MB / 0.556 GB, free: 3.758 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.282, allocations: 384 / 0.556 GB, free: 3.758 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.282, allocations: 19.88 kB / 0.556 GB, free: 3.738 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.282, allocations: 8 kB / 0.556 GB, free: 3.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004904/0.2825, allocations: 0.7236 MB / 0.5567 GB, free: 3.008 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008526/0.2834, allocations: 0.9643 MB / 0.5576 GB, free: 1.988 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.2837, allocations: 155.8 kB / 0.5578 GB, free: 1.828 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.014e-05/0.2838, allocations: 77.48 kB / 0.5579 GB, free: 1.75 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/0.2849, allocations: 0.6992 MB / 0.5585 GB, free: 1.035 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.2849, allocations: 37.5 kB / 0.5586 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.2849, allocations: 0 / 0.5586 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005017/0.2854, allocations: 221.1 kB / 0.5588 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.2855, allocations: 51.41 kB / 0.5588 GB, free: 0.7148 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.2856, allocations: 234.9 kB / 0.5591 GB, free: 488 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.2856, allocations: 29.7 kB / 0.5591 GB, free: 452 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.956e-05/0.2857, allocations: 219.5 kB / 0.5593 GB, free: 228 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.2857, allocations: 59.52 kB / 0.5594 GB, free: 168 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.554e-05/0.2858, allocations: 82.11 kB / 0.5594 GB, free: 80 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.2859, allocations: 334.8 kB / 0.5598 GB, free: 15.74 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.632e-05/0.286, allocations: 44.97 kB / 0.5598 GB, free: 15.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.2861, allocations: 325.8 kB / 0.5601 GB, free: 15.25 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.2864, allocations: 412.3 kB / 0.5605 GB, free: 14.71 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2864, allocations: 7.938 kB / 0.5605 GB, free: 14.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003422/0.2867, allocations: 380 kB / 0.5609 GB, free: 14.33 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.2868, allocations: 12 kB / 0.5609 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2868, allocations: 8.875 kB / 0.5609 GB, free: 14.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.2868, allocations: 12 kB / 0.5609 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.287, allocations: 111.8 kB / 0.561 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.287, allocations: 19.92 kB / 0.561 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.2871, allocations: 12 kB / 0.561 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.2871, allocations: 28 kB / 0.5611 GB, free: 14.13 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.214e-05/0.2872, allocations: 158.6 kB / 0.5612 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.2873, allocations: 15.91 kB / 0.5612 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.2875, allocations: 163 kB / 0.5614 GB, free: 13.79 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.2875, allocations: 0 / 0.5614 GB, free: 13.79 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.2875, allocations: 0 / 0.5614 GB, free: 13.79 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2875, allocations: 0 / 0.5614 GB, free: 13.79 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.2879, allocations: 386.6 kB / 0.5618 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.2879, allocations: 4 kB / 0.5618 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.717e-05/0.288, allocations: 27.92 kB / 0.5618 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.288, allocations: 4 kB / 0.5618 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.288, allocations: 4.062 kB / 0.5618 GB, free: 13.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.288, allocations: 0 / 0.5618 GB, free: 13.33 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.361e-06/0.288, allocations: 9.75 kB / 0.5618 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.2881, allocations: 221.1 kB / 0.562 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.2882, allocations: 27.88 kB / 0.562 GB, free: 13.06 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.2882, allocations: 0 / 0.562 GB, free: 13.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.2883, allocations: 8 kB / 0.5621 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.109e-05/0.2883, allocations: 15.86 kB / 0.5621 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.2883, allocations: 19.92 kB / 0.5621 GB, free: 13.02 MB / 474.7 MB Notification: Performance of sorting global known variables: time 8.135e-05/0.2884, allocations: 153.2 kB / 0.5622 GB, free: 12.87 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2884, allocations: 4 kB / 0.5622 GB, free: 12.86 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00032/0.2887, allocations: 95.94 kB / 0.5623 GB, free: 12.77 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002412/0.289, allocations: 151.1 kB / 0.5625 GB, free: 12.61 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.2892, allocations: 169.9 kB / 0.5626 GB, free: 12.45 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2892, allocations: 8.188 kB / 0.5626 GB, free: 12.44 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.083e-05/0.2892, allocations: 31.92 kB / 0.5627 GB, free: 12.41 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.2895, allocations: 49.12 kB / 0.5627 GB, free: 12.37 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006451/0.2902, allocations: 0.5018 MB / 0.5632 GB, free: 11.83 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.664e-05/0.2903, allocations: 116.6 kB / 0.5633 GB, free: 11.69 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.2903, allocations: 36.48 kB / 0.5634 GB, free: 11.66 MB / 474.7 MB Notification: Performance of SimCode: time 4.6e-07/0.2903, allocations: 0 / 0.5634 GB, free: 11.66 MB / 474.7 MB Notification: Performance of Templates: time 0.003829/0.2941, allocations: 3.459 MB / 0.5667 GB, free: 8.227 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",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.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.975019971840084]