Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.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.001973/0.001973, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002068/0.002068, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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.623/1.623, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3839/0.3839, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] 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.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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.026e-05, allocations: 4.703 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4081/0.4082, allocations: 131.6 MB / 0.4969 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005118/0.4133, allocations: 4.828 MB / 0.5016 GB, free: 23.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.4135, allocations: 1.094 kB / 0.5016 GB, free: 23.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004108/0.4139, allocations: 61.17 kB / 0.5017 GB, free: 23.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002246/0.4161, allocations: 0.7702 MB / 0.5024 GB, free: 23.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.4166, allocations: 157.3 kB / 0.5026 GB, free: 23.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005648/0.4171, allocations: 387.9 kB / 0.503 GB, free: 22.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.61e-05/0.4172, allocations: 8.859 kB / 0.503 GB, free: 22.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003114/0.4175, allocations: 208 kB / 0.5032 GB, free: 22.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.4178, allocations: 172.6 kB / 0.5033 GB, free: 22.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.4178, allocations: 8.406 kB / 0.5033 GB, free: 22.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.4193, allocations: 0.6162 MB / 0.5039 GB, free: 22.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.617e-05/0.4194, allocations: 48.95 kB / 0.504 GB, free: 22.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.4195, allocations: 82.56 kB / 0.5041 GB, free: 22.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000867/0.4204, allocations: 499 kB / 0.5045 GB, free: 22.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4204, allocations: 0 / 0.5045 GB, free: 22.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4204, allocations: 5.375 kB / 0.5045 GB, free: 22.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.4204, allocations: 0 / 0.5045 GB, free: 22.45 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001049/0.4214, allocations: 0.6332 MB / 0.5052 GB, free: 21.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.4215, allocations: 9.625 kB / 0.5052 GB, free: 21.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.4217, allocations: 53.73 kB / 0.5052 GB, free: 21.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.4219, allocations: 175.2 kB / 0.5054 GB, free: 21.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.422, allocations: 231.1 kB / 0.5056 GB, free: 21.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.4221, allocations: 25.94 kB / 0.5056 GB, free: 21.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.4226, allocations: 460.4 kB / 0.5061 GB, free: 21.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.4226, allocations: 4.312 kB / 0.5061 GB, free: 21.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.4226, allocations: 16.53 kB / 0.5061 GB, free: 21.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.4226, allocations: 6.141 kB / 0.5061 GB, free: 21.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000786/0.4234, allocations: 0.5982 MB / 0.5067 GB, free: 21.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.4246, allocations: 1.238 MB / 0.5079 GB, free: 19.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.425, allocations: 169.5 kB / 0.5081 GB, free: 19.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.4252, allocations: 78.88 kB / 0.5081 GB, free: 19.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/0.4266, allocations: 0.7926 MB / 0.5089 GB, free: 19.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.4266, allocations: 41.41 kB / 0.5089 GB, free: 19.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.4266, allocations: 0 / 0.5089 GB, free: 19.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006751/0.4273, allocations: 217.8 kB / 0.5092 GB, free: 19.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.4273, allocations: 53.97 kB / 0.5092 GB, free: 19.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.4275, allocations: 298.6 kB / 0.5095 GB, free: 18.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.4275, allocations: 29.7 kB / 0.5095 GB, free: 18.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.957e-05/0.4276, allocations: 265.4 kB / 0.5098 GB, free: 18.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.4276, allocations: 60.91 kB / 0.5098 GB, free: 18.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.655e-05/0.4277, allocations: 95.41 kB / 0.5099 GB, free: 18.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.276e-05/0.4278, allocations: 0.5076 MB / 0.5104 GB, free: 18.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.253e-05/0.4278, allocations: 55.95 kB / 0.5105 GB, free: 18.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.4281, allocations: 438.7 kB / 0.5109 GB, free: 17.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.4284, allocations: 0.5284 MB / 0.5114 GB, free: 16.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4284, allocations: 2.625 kB / 0.5114 GB, free: 16.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000529/0.429, allocations: 390.3 kB / 0.5118 GB, free: 16.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.429, allocations: 9.172 kB / 0.5118 GB, free: 16.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/0.429, allocations: 11.56 kB / 0.5118 GB, free: 16.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.429, allocations: 11.97 kB / 0.5118 GB, free: 16.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.4294, allocations: 107.8 kB / 0.5119 GB, free: 16.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.041e-05/0.4294, allocations: 18.69 kB / 0.5119 GB, free: 16.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.4296, allocations: 22.97 kB / 0.512 GB, free: 16.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.4296, allocations: 28.39 kB / 0.512 GB, free: 16.67 MB / 410.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 0.000105/0.4297, allocations: 198.4 kB / 0.5122 GB, free: 16.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.4298, allocations: 27.98 kB / 0.5122 GB, free: 16.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.4301, allocations: 156.4 kB / 0.5123 GB, free: 16.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.4301, allocations: 2.719 kB / 0.5123 GB, free: 16.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4301, allocations: 0.7969 kB / 0.5124 GB, free: 16.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4301, allocations: 4.641 kB / 0.5124 GB, free: 16.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004954/0.4306, allocations: 442.8 kB / 0.5128 GB, free: 16.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.4306, allocations: 3.359 kB / 0.5128 GB, free: 16.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.4308, allocations: 35.11 kB / 0.5128 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.4308, allocations: 0 / 0.5128 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.4308, allocations: 4.672 kB / 0.5128 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4308, allocations: 0 / 0.5128 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.4308, allocations: 14.86 kB / 0.5128 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.431, allocations: 278 kB / 0.5131 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/0.4311, allocations: 28.7 kB / 0.5131 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.4311, allocations: 0.6094 kB / 0.5131 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.4313, allocations: 15.56 kB / 0.5131 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.4313, allocations: 14.03 kB / 0.5132 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.4313, allocations: 9.125 kB / 0.5132 GB, free: 15.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.4315, allocations: 200.4 kB / 0.5134 GB, free: 15.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4315, allocations: 0 / 0.5134 GB, free: 15.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004818/0.4319, allocations: 97.95 kB / 0.5134 GB, free: 15.56 MB / 410.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.0002614/0.4322, allocations: 151.9 kB / 0.5136 GB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003057/0.4325, allocations: 191.6 kB / 0.5138 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4325, allocations: 3.688 kB / 0.5138 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.076e-05/0.4326, allocations: 41.33 kB / 0.5138 GB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.433, allocations: 60.8 kB / 0.5139 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007767/0.4338, allocations: 499.6 kB / 0.5144 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.508e-05/0.4339, allocations: 117.8 kB / 0.5145 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001786/0.4341, allocations: 56.77 kB / 0.5145 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.796e-05/0.4341, allocations: 26.94 kB / 0.5145 GB, free: 14.93 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.4341, allocations: 0 / 0.5145 GB, free: 14.93 MB / 410.7 MB Notification: Performance of Templates: time 0.006585/0.4407, allocations: 3.197 MB / 0.5177 GB, free: 14.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.640409694984555]