Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.002108/0.002108, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001862/0.001862, allocations: 213.8 kB / 23.74 MB, free: 4.656 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.559/1.559, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2489/0.2489, allocations: 46.93 MB / 360.8 MB, free: 4.277 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.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_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_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 67.88 kB / 0.4967 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.4003, allocations: 66.02 MB / 0.5612 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006699/0.407, allocations: 4.667 MB / 0.5657 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005144/0.4122, allocations: 4.029 MB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.4123, allocations: 0 / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.4127, allocations: 63.53 kB / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.4149, allocations: 0.7461 MB / 0.5704 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.4153, allocations: 131.5 kB / 0.5706 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005971/0.4158, allocations: 382 kB / 0.5709 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.545e-05/0.4159, allocations: 9.812 kB / 0.5709 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.4161, allocations: 147.5 kB / 0.5711 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.4164, allocations: 155.4 kB / 0.5712 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.4164, allocations: 8 kB / 0.5712 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009833/0.4174, allocations: 443.4 kB / 0.5717 GB, free: 9.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.849e-05/0.4175, allocations: 43.88 kB / 0.5717 GB, free: 9.754 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.4176, allocations: 107.5 kB / 0.5718 GB, free: 9.648 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008067/0.4184, allocations: 469.2 kB / 0.5722 GB, free: 9.191 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4184, allocations: 0 / 0.5722 GB, free: 9.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4184, allocations: 0 / 0.5722 GB, free: 9.191 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.4185, allocations: 4 kB / 0.5722 GB, free: 9.188 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.001255/0.4197, allocations: 0.5363 MB / 0.5728 GB, free: 8.621 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4198, allocations: 8.031 kB / 0.5728 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.4199, allocations: 32.84 kB / 0.5728 GB, free: 8.582 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.4203, allocations: 166.2 kB / 0.573 GB, free: 8.395 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/0.4205, allocations: 226.6 kB / 0.5732 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.677e-05/0.4206, allocations: 24.38 kB / 0.5732 GB, free: 8.098 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005895/0.4212, allocations: 334.8 kB / 0.5735 GB, free: 7.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.4212, allocations: 3.938 kB / 0.5735 GB, free: 7.742 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.4212, allocations: 15.94 kB / 0.5735 GB, free: 7.727 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/0.4213, allocations: 8 kB / 0.5736 GB, free: 7.719 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009278/0.4222, allocations: 0.7547 MB / 0.5743 GB, free: 6.961 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.001631/0.4238, allocations: 1.276 MB / 0.5755 GB, free: 5.574 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004279/0.4242, allocations: 155.8 kB / 0.5757 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.4244, allocations: 81.42 kB / 0.5758 GB, free: 5.332 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001731/0.4261, allocations: 0.7388 MB / 0.5765 GB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.4262, allocations: 30.56 kB / 0.5765 GB, free: 4.535 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.4262, allocations: 0 / 0.5765 GB, free: 4.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003461/0.4265, allocations: 125.4 kB / 0.5766 GB, free: 4.406 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.4266, allocations: 59.34 kB / 0.5767 GB, free: 4.336 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.4268, allocations: 227.9 kB / 0.5769 GB, free: 4.105 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.4268, allocations: 25.7 kB / 0.5769 GB, free: 4.074 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.427, allocations: 223.5 kB / 0.5771 GB, free: 3.852 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.208e-05/0.4271, allocations: 47.64 kB / 0.5772 GB, free: 3.805 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.4272, allocations: 78.08 kB / 0.5773 GB, free: 3.723 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.4274, allocations: 330.8 kB / 0.5776 GB, free: 3.391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-05/0.4275, allocations: 56.84 kB / 0.5776 GB, free: 3.332 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/0.4279, allocations: 339.2 kB / 0.578 GB, free: 2.855 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005263/0.4284, allocations: 448.5 kB / 0.5784 GB, free: 2.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4284, allocations: 0 / 0.5784 GB, free: 2.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006006/0.429, allocations: 389.3 kB / 0.5788 GB, free: 1.883 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.429, allocations: 8 kB / 0.5788 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.429, allocations: 15.98 kB / 0.5788 GB, free: 1.859 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-05/0.4291, allocations: 19.94 kB / 0.5788 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.4293, allocations: 91.84 kB / 0.5789 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.342e-05/0.4294, allocations: 20.48 kB / 0.5789 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.4296, allocations: 59.56 kB / 0.579 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.4296, allocations: 28 kB / 0.579 GB, free: 1.645 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.0001465/0.4298, allocations: 161.6 kB / 0.5791 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.4298, allocations: 15.91 kB / 0.5792 GB, free: 1.461 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002965/0.4301, allocations: 144.5 kB / 0.5793 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.4302, allocations: 7.938 kB / 0.5793 GB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4302, allocations: 0 / 0.5793 GB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.4302, allocations: 0 / 0.5793 GB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004852/0.4306, allocations: 376 kB / 0.5797 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4307, allocations: 4.094 kB / 0.5797 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.4307, allocations: 15.94 kB / 0.5797 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4307, allocations: 0 / 0.5797 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.4307, allocations: 0 / 0.5797 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4307, allocations: 4 kB / 0.5797 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4307, allocations: 0 / 0.5797 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.4309, allocations: 213.8 kB / 0.5799 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.431, allocations: 19.89 kB / 0.5799 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.431, allocations: 15.88 kB / 0.5799 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.4312, allocations: 4 kB / 0.5799 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.4312, allocations: 11.98 kB / 0.5799 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.4312, allocations: 8 kB / 0.5799 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.4314, allocations: 156.5 kB / 0.5801 GB, free: 412 kB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4314, allocations: 0 / 0.5801 GB, free: 412 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004936/0.4319, allocations: 95.88 kB / 0.5802 GB, free: 316 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.0002955/0.4322, allocations: 159.3 kB / 0.5803 GB, free: 144 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003567/0.4325, allocations: 169.1 kB / 0.5805 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.507e-06/0.4325, allocations: 0 / 0.5805 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.325e-05/0.4326, allocations: 19.94 kB / 0.5805 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.433, allocations: 53.83 kB / 0.5806 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.4342, allocations: 0.5358 MB / 0.5811 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.4347, allocations: 0.7284 MB / 0.5818 GB, free: 14.58 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001818/0.4349, allocations: 54.92 kB / 0.5819 GB, free: 14.53 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.4349, allocations: 23.44 kB / 0.5819 GB, free: 14.5 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4349, allocations: 0 / 0.5819 GB, free: 14.5 MB / 430.1 MB Notification: Performance of Templates: time 0.007854/0.4428, allocations: 3.328 MB / 0.5851 GB, free: 11.2 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.767130509018898]