Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.008/0.008, allocations: 105.4 kB / 21.98 MB, free: 5.223 MB / 14.72 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.002256/0.002256, allocations: 214.3 kB / 25.29 MB, free: 3.203 MB / 14.72 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.425/1.425, allocations: 230.5 MB / 258.9 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2199/0.2199, allocations: 46.93 MB / 362.3 MB, free: 4.188 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-beta.om/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.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 83.86 kB / 0.4982 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3528, allocations: 66.08 MB / 0.5628 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006995/0.3598, allocations: 4.656 MB / 0.5673 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004847/0.3647, allocations: 4.037 MB / 0.5713 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.3648, allocations: 0 / 0.5713 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.3651, allocations: 55.61 kB / 0.5713 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002232/0.3673, allocations: 0.7416 MB / 0.572 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.3677, allocations: 138.9 kB / 0.5722 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006256/0.3683, allocations: 382.1 kB / 0.5725 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.494e-05/0.3684, allocations: 17.73 kB / 0.5725 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.3686, allocations: 139.5 kB / 0.5727 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.3689, allocations: 155.4 kB / 0.5728 GB, free: 9.883 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.3689, allocations: 8 kB / 0.5728 GB, free: 9.875 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.3699, allocations: 443.4 kB / 0.5733 GB, free: 9.441 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.095e-05/0.37, allocations: 47.81 kB / 0.5733 GB, free: 9.395 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.3702, allocations: 103.5 kB / 0.5734 GB, free: 9.293 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008281/0.371, allocations: 476.9 kB / 0.5739 GB, free: 8.832 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.371, allocations: 0 / 0.5739 GB, free: 8.832 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.371, allocations: 0 / 0.5739 GB, free: 8.832 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.371, allocations: 0 / 0.5739 GB, free: 8.832 MB / 414.1 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.001157/0.3722, allocations: 0.5324 MB / 0.5744 GB, free: 8.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3722, allocations: 8.031 kB / 0.5744 GB, free: 8.262 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.3724, allocations: 28.83 kB / 0.5744 GB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.3727, allocations: 166.2 kB / 0.5746 GB, free: 8.047 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.3729, allocations: 127.9 kB / 0.5747 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.3729, allocations: 24.38 kB / 0.5747 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005398/0.3734, allocations: 334.8 kB / 0.575 GB, free: 7.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3734, allocations: 3.938 kB / 0.575 GB, free: 7.516 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.3735, allocations: 15.98 kB / 0.575 GB, free: 7.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.3735, allocations: 4 kB / 0.5751 GB, free: 7.496 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000942/0.3744, allocations: 0.7586 MB / 0.5758 GB, free: 6.734 MB / 414.1 MB 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.001554/0.376, allocations: 1.284 MB / 0.577 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.3764, allocations: 147.8 kB / 0.5772 GB, free: 5.188 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.3765, allocations: 77.42 kB / 0.5773 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001498/0.378, allocations: 0.7466 MB / 0.578 GB, free: 4.344 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.378, allocations: 30.56 kB / 0.578 GB, free: 4.305 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.378, allocations: 0 / 0.578 GB, free: 4.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003029/0.3783, allocations: 117.5 kB / 0.5781 GB, free: 4.184 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.3784, allocations: 59.33 kB / 0.5782 GB, free: 4.113 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.3786, allocations: 222 kB / 0.5784 GB, free: 3.891 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.3786, allocations: 29.7 kB / 0.5784 GB, free: 3.855 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.3788, allocations: 223.5 kB / 0.5786 GB, free: 3.633 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.3788, allocations: 51.62 kB / 0.5787 GB, free: 3.582 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.3789, allocations: 86.08 kB / 0.5788 GB, free: 3.492 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.3791, allocations: 326.8 kB / 0.5791 GB, free: 3.164 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.505e-05/0.3792, allocations: 44.84 kB / 0.5791 GB, free: 3.117 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.3795, allocations: 343.2 kB / 0.5795 GB, free: 2.637 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005268/0.38, allocations: 448.6 kB / 0.5799 GB, free: 2.051 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.3801, allocations: 0 / 0.5799 GB, free: 2.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005789/0.3806, allocations: 389.7 kB / 0.5803 GB, free: 1.664 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.3807, allocations: 8 kB / 0.5803 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/0.3807, allocations: 20.12 kB / 0.5803 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.818e-05/0.3807, allocations: 19.97 kB / 0.5803 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/0.381, allocations: 103.8 kB / 0.5804 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.947e-05/0.3811, allocations: 19.92 kB / 0.5804 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.3815, allocations: 59.56 kB / 0.5805 GB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/0.3815, allocations: 28 kB / 0.5805 GB, free: 1.41 MB / 414.1 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.0001398/0.3816, allocations: 145.7 kB / 0.5806 GB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.3817, allocations: 15.91 kB / 0.5807 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.382, allocations: 148.9 kB / 0.5808 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.382, allocations: 3.938 kB / 0.5808 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.382, allocations: 0 / 0.5808 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.382, allocations: 4 kB / 0.5808 GB, free: 1.074 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005205/0.3825, allocations: 380 kB / 0.5812 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.3825, allocations: 4 kB / 0.5812 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.872e-05/0.3826, allocations: 15.98 kB / 0.5812 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3826, allocations: 4 kB / 0.5812 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3826, allocations: 0 / 0.5812 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.3826, allocations: 4 kB / 0.5812 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3826, allocations: 0 / 0.5812 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.3828, allocations: 206 kB / 0.5814 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.3829, allocations: 23.83 kB / 0.5814 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.3829, allocations: 11.95 kB / 0.5814 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.3831, allocations: 11.92 kB / 0.5814 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.3831, allocations: 7.938 kB / 0.5814 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.3831, allocations: 7.984 kB / 0.5815 GB, free: 336 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.3832, allocations: 156.5 kB / 0.5816 GB, free: 180 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3832, allocations: 0 / 0.5816 GB, free: 180 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004803/0.3837, allocations: 95.88 kB / 0.5817 GB, free: 84 kB / 414.1 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.0003001/0.384, allocations: 143.1 kB / 0.5818 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003327/0.3844, allocations: 174.5 kB / 0.582 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3844, allocations: 3.938 kB / 0.582 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.003e-05/0.3844, allocations: 24.11 kB / 0.582 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.3848, allocations: 52.5 kB / 0.5821 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.3859, allocations: 0.5611 MB / 0.5826 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.3863, allocations: 0.7285 MB / 0.5833 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.3863, allocations: 35.41 kB / 0.5834 GB, free: 14.29 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3863, allocations: 0 / 0.5834 GB, free: 14.29 MB / 430.1 MB Notification: Performance of Templates: time 0.006272/0.3926, allocations: 3.356 MB / 0.5866 GB, free: 10.95 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.827725779963657]