Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.001062/0.001062, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001801/0.001801, allocations: 169.2 kB / 24.82 MB, free: 9.273 MB / 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 0.9732/0.9732, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.2666/0.2666, allocations: 34.88 MB / 296.6 MB, free: 0.5 MB / 266.7 MB " [Timeout remaining time 180] 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.LinearColdWater,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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 4 kB / 379.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.385e-05, allocations: 3.297 kB / 379.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004882/0.004905, allocations: 4.691 MB / 383.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00296/0.007865, allocations: 4.103 MB / 388.1 MB, free: 8.965 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.559e-05/0.007961, allocations: 4 kB / 388.1 MB, free: 8.961 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.008215, allocations: 59.56 kB / 388.1 MB, free: 8.902 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.00959, allocations: 0.8079 MB / 388.9 MB, free: 8.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.009833, allocations: 143.7 kB / 389.1 MB, free: 7.949 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004084/0.01024, allocations: 401.9 kB / 389.5 MB, free: 7.555 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.01028, allocations: 9.812 kB / 389.5 MB, free: 7.543 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.01047, allocations: 199.4 kB / 389.7 MB, free: 7.348 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.01064, allocations: 131.7 kB / 389.8 MB, free: 7.219 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.01066, allocations: 8 kB / 389.8 MB, free: 7.211 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005705/0.01123, allocations: 411.2 kB / 390.2 MB, free: 6.809 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.155e-05/0.0113, allocations: 43.77 kB / 390.2 MB, free: 6.766 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.818e-05/0.01139, allocations: 83.83 kB / 390.3 MB, free: 6.684 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009054/0.0123, allocations: 470.5 kB / 390.8 MB, free: 6.223 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.0123, allocations: 0 / 390.8 MB, free: 6.223 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.0123, allocations: 0 / 390.8 MB, free: 6.223 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.0123, allocations: 0 / 390.8 MB, free: 6.223 MB / 362.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.0007601/0.01306, allocations: 0.6322 MB / 391.4 MB, free: 5.555 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.0131, allocations: 12.03 kB / 391.4 MB, free: 5.543 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.01323, allocations: 52.78 kB / 391.5 MB, free: 5.492 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.0134, allocations: 172.2 kB / 391.6 MB, free: 5.297 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.01352, allocations: 226.7 kB / 391.9 MB, free: 5.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.01354, allocations: 28.36 kB / 391.9 MB, free: 5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.01386, allocations: 418.2 kB / 392.3 MB, free: 4.516 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.01387, allocations: 192 / 392.3 MB, free: 4.516 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.01389, allocations: 15.94 kB / 392.3 MB, free: 4.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.01392, allocations: 15.98 kB / 392.3 MB, free: 4.484 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.01422, allocations: 462.6 kB / 392.8 MB, free: 4.035 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008934/0.01512, allocations: 1.312 MB / 394.1 MB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.01532, allocations: 132.3 kB / 394.2 MB, free: 2.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.742e-05/0.01539, allocations: 60.3 kB / 394.3 MB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.0164, allocations: 0.8436 MB / 395.1 MB, free: 1.594 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.01643, allocations: 41.39 kB / 395.2 MB, free: 1.543 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 2.084e-06/0.01643, allocations: 0 / 395.2 MB, free: 1.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002416/0.01667, allocations: 109.4 kB / 395.3 MB, free: 1.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.0167, allocations: 51.41 kB / 395.3 MB, free: 1.367 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.01689, allocations: 294.3 kB / 395.6 MB, free: 1.062 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.0169, allocations: 29.7 kB / 395.6 MB, free: 1.027 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.01704, allocations: 278.1 kB / 395.9 MB, free: 0.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.01707, allocations: 47.67 kB / 396 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.318e-05/0.01715, allocations: 91.72 kB / 396 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.01732, allocations: 0.5078 MB / 396.6 MB, free: 88 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.474e-05/0.01736, allocations: 28.97 kB / 396.6 MB, free: 60 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.01766, allocations: 467.8 kB / 397 MB, free: 15.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007361/0.01839, allocations: 0.5471 MB / 397.6 MB, free: 14.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.0184, allocations: 4 kB / 397.6 MB, free: 14.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003377/0.01874, allocations: 365.6 kB / 398 MB, free: 14.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.01876, allocations: 12 kB / 398 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.01877, allocations: 8 kB / 398 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.0188, allocations: 16 kB / 398 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.01894, allocations: 95.83 kB / 398.1 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.01895, allocations: 23.88 kB / 398.1 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.01909, allocations: 51.62 kB / 398.2 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.01912, allocations: 31.98 kB / 398.2 MB, free: 14.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (51): * Single equations (assignments): 50 * 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.0001084/0.01922, allocations: 192.6 kB / 398.4 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.01926, allocations: 31.86 kB / 398.4 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.01946, allocations: 142.2 kB / 398.5 MB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.01947, allocations: 8 kB / 398.6 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.01947, allocations: 0 / 398.6 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01948, allocations: 0 / 398.6 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.01979, allocations: 380.8 kB / 398.9 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01979, allocations: 3.938 kB / 398.9 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.01982, allocations: 12 kB / 398.9 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.01982, allocations: 0 / 398.9 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.01983, allocations: 4 kB / 398.9 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.01983, allocations: 0 / 398.9 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01983, allocations: 4 kB / 398.9 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.01996, allocations: 270.8 kB / 399.2 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.021e-05/0.01999, allocations: 19.83 kB / 399.2 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.02001, allocations: 11.95 kB / 399.2 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/0.02008, allocations: 4 kB / 399.2 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.0201, allocations: 11.92 kB / 399.3 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.02011, allocations: 4 kB / 399.3 MB, free: 12.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.592e-05/0.0202, allocations: 193 kB / 399.4 MB, free: 12.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0202, allocations: 0 / 399.4 MB, free: 12.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003355/0.02053, allocations: 87.88 kB / 399.5 MB, free: 12.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0002718/0.0208, allocations: 163.2 kB / 399.7 MB, free: 12.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.021, allocations: 163.5 kB / 399.9 MB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.021, allocations: 4.125 kB / 399.9 MB, free: 12.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.559e-05/0.02103, allocations: 31.61 kB / 399.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.02132, allocations: 40.45 kB / 399.9 MB, free: 12.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008591/0.02218, allocations: 0.5299 MB / 400.5 MB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.377e-05/0.02222, allocations: 76.33 kB / 400.5 MB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000114/0.02233, allocations: 50.92 kB / 400.6 MB, free: 11.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.02246, allocations: 126.2 kB / 400.7 MB, free: 11.35 MB / 378.7 MB Notification: Performance of SimCode: time 1.412e-06/0.02246, allocations: 0 / 400.7 MB, free: 11.35 MB / 378.7 MB Notification: Performance of Templates: time 0.005169/0.02763, allocations: 3.437 MB / 404.1 MB, free: 7.953 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.145735949743539]