Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001811/0.001811, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002162/0.002162, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.583/1.583, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2552/0.2552, allocations: 46.92 MB / 357.1 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003046/0.003046, allocations: 63.91 kB / 0.4914 GB, free: 7.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1657, allocations: 65.99 MB / 0.5559 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.5701/0.7357, allocations: 139.4 MB / 0.692 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006027/0.7418, allocations: 4.731 MB / 0.6966 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.7419, allocations: 4 kB / 0.6966 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000358/0.7422, allocations: 59.58 kB / 0.6967 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.7442, allocations: 0.7345 MB / 0.6974 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.7447, allocations: 167.7 kB / 0.6976 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006545/0.7453, allocations: 378.1 kB / 0.6979 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.307e-05/0.7454, allocations: 5.688 kB / 0.6979 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.7456, allocations: 159.4 kB / 0.6981 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000336/0.746, allocations: 187.5 kB / 0.6983 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.746, allocations: 8 kB / 0.6983 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.7476, allocations: 0.7136 MB / 0.699 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.779e-05/0.7477, allocations: 51.75 kB / 0.699 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.7478, allocations: 107.5 kB / 0.6991 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008279/0.7486, allocations: 482.9 kB / 0.6996 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.7486, allocations: 0 / 0.6996 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7486, allocations: 4 kB / 0.6996 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.7487, allocations: 0 / 0.6996 GB, free: 13.97 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.00119/0.7498, allocations: 0.6116 MB / 0.7002 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.7499, allocations: 8.031 kB / 0.7002 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.75, allocations: 32.81 kB / 0.7002 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.7504, allocations: 228.1 kB / 0.7005 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.7505, allocations: 127.9 kB / 0.7006 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.7505, allocations: 20.56 kB / 0.7006 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005677/0.7511, allocations: 318.8 kB / 0.7009 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.7511, allocations: 0 / 0.7009 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.7512, allocations: 23.92 kB / 0.7009 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.7512, allocations: 11.94 kB / 0.7009 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009373/0.7521, allocations: 0.7352 MB / 0.7017 GB, free: 11.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.001509/0.7536, allocations: 1.231 MB / 0.7029 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.7541, allocations: 153.2 kB / 0.703 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.7542, allocations: 81.48 kB / 0.7031 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002813/0.757, allocations: 2.715 MB / 0.7057 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.7571, allocations: 36.69 kB / 0.7058 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.7571, allocations: 0 / 0.7058 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0007533/0.7578, allocations: 228.1 kB / 0.706 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.7579, allocations: 55.34 kB / 0.706 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.7581, allocations: 212.1 kB / 0.7062 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.7581, allocations: 33.7 kB / 0.7063 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.7583, allocations: 219.5 kB / 0.7065 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.7584, allocations: 55.56 kB / 0.7065 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.7585, allocations: 90.03 kB / 0.7066 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.7586, allocations: 326.8 kB / 0.7069 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.7587, allocations: 52.83 kB / 0.707 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.7591, allocations: 317.2 kB / 0.7073 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005046/0.7596, allocations: 413.9 kB / 0.7077 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.7596, allocations: 8 kB / 0.7077 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006251/0.7602, allocations: 376.8 kB / 0.708 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.7602, allocations: 9 kB / 0.7081 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.7603, allocations: 12 kB / 0.7081 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.7603, allocations: 16 kB / 0.7081 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.7606, allocations: 111.8 kB / 0.7082 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.988e-05/0.7607, allocations: 19.92 kB / 0.7082 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.7609, allocations: 16 kB / 0.7082 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.7609, allocations: 31.94 kB / 0.7082 GB, free: 4.016 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.0001456/0.7611, allocations: 155.7 kB / 0.7084 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/0.7611, allocations: 19.91 kB / 0.7084 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.7614, allocations: 147.9 kB / 0.7086 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.7615, allocations: 11.92 kB / 0.7086 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7615, allocations: 0 / 0.7086 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.7615, allocations: 0 / 0.7086 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006197/0.7621, allocations: 444 kB / 0.709 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.7621, allocations: 3.938 kB / 0.709 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.7622, allocations: 27.92 kB / 0.709 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.7622, allocations: 4 kB / 0.709 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.7623, allocations: 0 / 0.709 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.7623, allocations: 4 kB / 0.709 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.7623, allocations: 3.984 kB / 0.709 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.7625, allocations: 229 kB / 0.7093 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.7627, allocations: 101 kB / 0.7093 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.7627, allocations: 7.953 kB / 0.7094 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.7629, allocations: 11.98 kB / 0.7094 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.763, allocations: 7.984 kB / 0.7094 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.763, allocations: 11.94 kB / 0.7094 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002084/0.7632, allocations: 152.5 kB / 0.7095 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.7632, allocations: 4 kB / 0.7095 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005122/0.7637, allocations: 91.88 kB / 0.7096 GB, free: 2.492 MB / 0.5137 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.0002962/0.764, allocations: 159.1 kB / 0.7098 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000346/0.7643, allocations: 179 kB / 0.7099 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7643, allocations: 4.062 kB / 0.71 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.377e-05/0.7644, allocations: 31.92 kB / 0.71 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.7649, allocations: 46.44 kB / 0.71 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.7659, allocations: 0.5116 MB / 0.7105 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.7663, allocations: 0.7284 MB / 0.7112 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002107/0.7666, allocations: 58.92 kB / 0.7113 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.368e-05/0.7666, allocations: 31.42 kB / 0.7113 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.7666, allocations: 3.938 kB / 0.7113 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of Templates: time 0.009282/0.7759, allocations: 3.273 MB / 0.7145 GB, free: 13.45 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.189876824617386]