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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 192.5 kB / 22.98 MB, free: 5.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 225.6 MB / 251.6 MB, free: 13.32 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.2421/0.2421, allocations: 44.92 MB / 351.6 MB, free: 12.29 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002065/0.002065, allocations: 67.89 kB / 495.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3432, allocations: 64.25 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1668/0.51, allocations: 136.6 MB / 0.6798 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007482/0.5175, allocations: 4.742 MB / 0.6844 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/0.5177, allocations: 0 / 0.6844 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004522/0.5182, allocations: 63.58 kB / 0.6845 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002793/0.521, allocations: 0.7228 MB / 0.6852 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.5215, allocations: 159.2 kB / 0.6853 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007046/0.5222, allocations: 382.1 kB / 0.6857 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.117e-05/0.5223, allocations: 13.67 kB / 0.6857 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/0.5226, allocations: 155.5 kB / 0.6859 GB, free: 484 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.5229, allocations: 191.4 kB / 0.6861 GB, free: 292 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.178e-05/0.523, allocations: 8 kB / 0.6861 GB, free: 284 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.5249, allocations: 0.698 MB / 0.6867 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.5251, allocations: 47.75 kB / 0.6868 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.5253, allocations: 107.5 kB / 0.6869 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.5268, allocations: 465 kB / 0.6873 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5269, allocations: 0 / 0.6873 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.415e-06/0.5269, allocations: 0 / 0.6873 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.5269, allocations: 0 / 0.6873 GB, free: 14.98 MB / 0.5294 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.00175/0.5286, allocations: 0.6 MB / 0.6879 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.59e-05/0.5287, allocations: 8.031 kB / 0.6879 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000289/0.529, allocations: 32.78 kB / 0.688 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005951/0.5296, allocations: 224.1 kB / 0.6882 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002035/0.5298, allocations: 123.9 kB / 0.6883 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.249e-05/0.5298, allocations: 28.36 kB / 0.6883 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006526/0.5305, allocations: 330.7 kB / 0.6886 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.5305, allocations: 4 kB / 0.6886 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.5305, allocations: 8 kB / 0.6886 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.5305, allocations: 8 kB / 0.6887 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009119/0.5315, allocations: 0.7391 MB / 0.6894 GB, free: 12.75 MB / 0.5294 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.001727/0.5332, allocations: 1.226 MB / 0.6906 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.5337, allocations: 167.7 kB / 0.6907 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.5338, allocations: 81.42 kB / 0.6908 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002938/0.5368, allocations: 2.699 MB / 0.6934 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/0.5368, allocations: 34.56 kB / 0.6935 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 2.215e-06/0.5368, allocations: 0 / 0.6935 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0006937/0.5375, allocations: 213.1 kB / 0.6937 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.5376, allocations: 63.28 kB / 0.6937 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.5378, allocations: 223 kB / 0.694 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.5378, allocations: 25.7 kB / 0.694 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.538, allocations: 227.5 kB / 0.6942 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.538, allocations: 51.59 kB / 0.6942 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.5381, allocations: 82.03 kB / 0.6943 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.5383, allocations: 334.8 kB / 0.6946 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.5384, allocations: 52.84 kB / 0.6947 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.5388, allocations: 328 kB / 0.695 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005598/0.5393, allocations: 430 kB / 0.6954 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/0.5393, allocations: 4 kB / 0.6954 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006833/0.54, allocations: 377 kB / 0.6958 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.5401, allocations: 14.5 kB / 0.6958 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.5401, allocations: 8.906 kB / 0.6958 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-05/0.5401, allocations: 15.94 kB / 0.6958 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.5405, allocations: 119.8 kB / 0.6959 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.5406, allocations: 15.94 kB / 0.6959 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.5408, allocations: 20 kB / 0.696 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/0.5409, allocations: 35.98 kB / 0.696 GB, free: 4.98 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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.0002152/0.5411, allocations: 149.5 kB / 0.6961 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.803e-05/0.5412, allocations: 23.86 kB / 0.6962 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004224/0.5416, allocations: 155.6 kB / 0.6963 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.5416, allocations: 0 / 0.6963 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.5416, allocations: 4 kB / 0.6963 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.5416, allocations: 0 / 0.6963 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008466/0.5425, allocations: 444 kB / 0.6967 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5425, allocations: 7.969 kB / 0.6967 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.5426, allocations: 31.92 kB / 0.6968 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.5426, allocations: 0 / 0.6968 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.5427, allocations: 8 kB / 0.6968 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.5427, allocations: 3.984 kB / 0.6968 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5427, allocations: 0 / 0.6968 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.543, allocations: 229 kB / 0.697 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.5432, allocations: 101 kB / 0.6971 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.5432, allocations: 11.88 kB / 0.6971 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.5435, allocations: 11.98 kB / 0.6971 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.5435, allocations: 7.984 kB / 0.6971 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.5435, allocations: 4 kB / 0.6971 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000192/0.5437, allocations: 156.5 kB / 0.6973 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5437, allocations: 0 / 0.6973 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006589/0.5444, allocations: 87.94 kB / 0.6974 GB, free: 3.453 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.0004821/0.5449, allocations: 167 kB / 0.6975 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004649/0.5453, allocations: 174.1 kB / 0.6977 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.5454, allocations: 0 / 0.6977 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.345e-05/0.5454, allocations: 31.92 kB / 0.6977 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.5459, allocations: 48.56 kB / 0.6978 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.5471, allocations: 494.7 kB / 0.6982 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.5475, allocations: 0.7245 MB / 0.699 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000214/0.5477, allocations: 62.81 kB / 0.699 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.5478, allocations: 31.42 kB / 0.699 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.5478, allocations: 0 / 0.699 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of Templates: time 0.008514/0.5563, allocations: 3.304 MB / 0.7023 GB, free: 14.41 MB / 0.545 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.895276561379433]