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.001419/0.001419, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001542/0.001542, allocations: 214 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.2674/0.2674, allocations: 44.93 MB / 358.8 MB, free: 6.137 MB / 286.1 MB " [Timeout remaining time 179] 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002098/0.002098, allocations: 59.91 kB / 0.4935 GB, free: 9.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3531, allocations: 65.48 MB / 0.5575 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1734/0.5265, allocations: 119.7 MB / 0.6744 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006204/0.5327, allocations: 4.24 MB / 0.6785 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.5328, allocations: 0 / 0.6785 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004562/0.5333, allocations: 63.59 kB / 0.6786 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.5356, allocations: 0.7384 MB / 0.6793 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.536, allocations: 167.6 kB / 0.6795 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005718/0.5366, allocations: 374.1 kB / 0.6798 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.052e-05/0.5367, allocations: 9.812 kB / 0.6798 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/0.5369, allocations: 159.5 kB / 0.68 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.5372, allocations: 187.4 kB / 0.6801 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.5373, allocations: 8 kB / 0.6802 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.5387, allocations: 0.6162 MB / 0.6808 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.5388, allocations: 47.81 kB / 0.6808 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.5389, allocations: 95.58 kB / 0.6809 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008144/0.5398, allocations: 469 kB / 0.6813 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5398, allocations: 0 / 0.6813 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5398, allocations: 7.938 kB / 0.6813 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.5398, allocations: 0 / 0.6813 GB, free: 8.133 MB / 0.5137 GB 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.00118/0.541, allocations: 0.5401 MB / 0.6819 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.541, allocations: 8.031 kB / 0.6819 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.5412, allocations: 24.84 kB / 0.6819 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.5415, allocations: 170.2 kB / 0.6821 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/0.5418, allocations: 234.6 kB / 0.6823 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.5418, allocations: 20.38 kB / 0.6823 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006898/0.5425, allocations: 0.5018 MB / 0.6828 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.5425, allocations: 0 / 0.6828 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.5425, allocations: 15.94 kB / 0.6828 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.5426, allocations: 7.984 kB / 0.6828 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009125/0.5435, allocations: 0.7157 MB / 0.6835 GB, free: 5.73 MB / 0.5137 GB 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.001381/0.5449, allocations: 0.9679 MB / 0.6845 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.5453, allocations: 167.7 kB / 0.6846 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.5454, allocations: 85.48 kB / 0.6847 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001472/0.5469, allocations: 0.688 MB / 0.6854 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.5469, allocations: 34.56 kB / 0.6854 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.5469, allocations: 0 / 0.6854 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0007084/0.5476, allocations: 225.1 kB / 0.6856 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.5477, allocations: 55.34 kB / 0.6857 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.5479, allocations: 230.8 kB / 0.6859 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.5479, allocations: 29.7 kB / 0.6859 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.5481, allocations: 211.6 kB / 0.6861 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/0.5481, allocations: 63.5 kB / 0.6862 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.5482, allocations: 90.03 kB / 0.6863 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.5484, allocations: 326.8 kB / 0.6866 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.291e-05/0.5485, allocations: 52.84 kB / 0.6866 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.5488, allocations: 317.2 kB / 0.6869 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005067/0.5493, allocations: 420.3 kB / 0.6873 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.5493, allocations: 4 kB / 0.6873 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005916/0.5499, allocations: 377.2 kB / 0.6877 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.5499, allocations: 8 kB / 0.6877 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.5499, allocations: 8 kB / 0.6877 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.95e-05/0.55, allocations: 16 kB / 0.6877 GB, free: 1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.5503, allocations: 108.4 kB / 0.6878 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.391e-05/0.5503, allocations: 23.86 kB / 0.6879 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.5506, allocations: 24 kB / 0.6879 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.5506, allocations: 28 kB / 0.6879 GB, free: 0.8203 MB / 0.5137 GB 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 0.0001514/0.5508, allocations: 149.5 kB / 0.6881 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.817e-05/0.5508, allocations: 27.84 kB / 0.6881 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003097/0.5511, allocations: 147.9 kB / 0.6882 GB, free: 492 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.5511, allocations: 7.938 kB / 0.6882 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5511, allocations: 0 / 0.6882 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.5512, allocations: 3.984 kB / 0.6882 GB, free: 480 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005692/0.5517, allocations: 371.8 kB / 0.6886 GB, free: 64 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5517, allocations: 0 / 0.6886 GB, free: 64 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.5519, allocations: 35.86 kB / 0.6886 GB, free: 28 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.5519, allocations: 3.938 kB / 0.6886 GB, free: 24 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.5519, allocations: 4 kB / 0.6886 GB, free: 20 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.5519, allocations: 4 kB / 0.6886 GB, free: 16 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5519, allocations: 4.062 kB / 0.6886 GB, free: 12 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.5522, allocations: 228.9 kB / 0.6889 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.54e-05/0.5523, allocations: 27.83 kB / 0.6889 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.5523, allocations: 7.953 kB / 0.6889 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.5525, allocations: 15.98 kB / 0.6889 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.5525, allocations: 7.984 kB / 0.6889 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.5526, allocations: 4 kB / 0.6889 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001461/0.5527, allocations: 156.5 kB / 0.6891 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5527, allocations: 0 / 0.6891 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005036/0.5532, allocations: 87.94 kB / 0.6892 GB, free: 15.47 MB / 0.5294 GB 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.000303/0.5535, allocations: 167 kB / 0.6893 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003551/0.5539, allocations: 173.2 kB / 0.6895 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5539, allocations: 0.8125 kB / 0.6895 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.138e-05/0.5539, allocations: 40.05 kB / 0.6895 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.5544, allocations: 48.52 kB / 0.6896 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.5554, allocations: 0.5193 MB / 0.6901 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.5555, allocations: 120.5 kB / 0.6902 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002149/0.5557, allocations: 54.97 kB / 0.6902 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.5558, allocations: 31.42 kB / 0.6903 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.5558, allocations: 0 / 0.6903 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.0082/0.564, allocations: 3.48 MB / 0.6937 GB, free: 10.86 MB / 0.5294 GB " [Timeout remaining time 659] 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: 5.589805584400892]