Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001563/0.001563, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001698/0.001698, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 18.57 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.487/1.487, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3402/0.3402, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.219e-05/6.523e-05, allocations: 9.484 kB / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.01184/0.0119, allocations: 4.307 MB / 379.6 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008321/0.02023, allocations: 3.585 MB / 383.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.02047, allocations: 0 / 383.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004997/0.02097, allocations: 55.61 kB / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004329/0.0253, allocations: 0.7687 MB / 384 MB, free: 12.19 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007006/0.026, allocations: 135.7 kB / 384.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001014/0.02701, allocations: 377.9 kB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.411e-05/0.02709, allocations: 13.8 kB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004764/0.02756, allocations: 191.4 kB / 384.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004145/0.02798, allocations: 127.7 kB / 384.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.02802, allocations: 15.94 kB / 384.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.02978, allocations: 383.4 kB / 385.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.02991, allocations: 51.69 kB / 385.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.03011, allocations: 83.77 kB / 385.4 MB, free: 10.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.03153, allocations: 490.5 kB / 385.8 MB, free: 10.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.03153, allocations: 0 / 385.8 MB, free: 10.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.03153, allocations: 0 / 385.8 MB, free: 10.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.03154, allocations: 0 / 385.8 MB, free: 10.35 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.001907/0.03345, allocations: 0.5246 MB / 386.4 MB, free: 9.797 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.03349, allocations: 8.031 kB / 386.4 MB, free: 9.789 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002975/0.03379, allocations: 52.73 kB / 386.4 MB, free: 9.738 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.03419, allocations: 173.5 kB / 386.6 MB, free: 9.543 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002681/0.03446, allocations: 226.7 kB / 386.8 MB, free: 9.273 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.03452, allocations: 32.31 kB / 386.8 MB, free: 9.242 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007521/0.03527, allocations: 489.8 kB / 387.3 MB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.03528, allocations: 4.125 kB / 387.3 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.03532, allocations: 15.94 kB / 387.3 MB, free: 8.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.03535, allocations: 7.984 kB / 387.3 MB, free: 8.672 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009695/0.03632, allocations: 0.712 MB / 388.1 MB, free: 7.961 MB / 362.7 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.001575/0.03789, allocations: 1.043 MB / 389.1 MB, free: 6.859 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/0.03832, allocations: 163.7 kB / 389.3 MB, free: 6.691 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.03848, allocations: 77.48 kB / 389.3 MB, free: 6.613 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001782/0.04027, allocations: 0.7308 MB / 390.1 MB, free: 5.867 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.0403, allocations: 38.56 kB / 390.1 MB, free: 5.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.04031, allocations: 0 / 390.1 MB, free: 5.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003515/0.04066, allocations: 121.4 kB / 390.2 MB, free: 5.695 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.0407, allocations: 51.41 kB / 390.3 MB, free: 5.633 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.04097, allocations: 235.8 kB / 390.5 MB, free: 5.395 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.04099, allocations: 25.7 kB / 390.5 MB, free: 5.363 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.0412, allocations: 235.4 kB / 390.8 MB, free: 5.129 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.04125, allocations: 43.69 kB / 390.8 MB, free: 5.086 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.04136, allocations: 86.09 kB / 390.9 MB, free: 4.996 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.04156, allocations: 326.8 kB / 391.2 MB, free: 4.668 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.04167, allocations: 52.95 kB / 391.3 MB, free: 4.617 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/0.04206, allocations: 344.1 kB / 391.6 MB, free: 4.133 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006085/0.04267, allocations: 448.5 kB / 392 MB, free: 3.547 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.04267, allocations: 0 / 392 MB, free: 3.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007228/0.04339, allocations: 401.5 kB / 392.4 MB, free: 3.148 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.04342, allocations: 9.875 kB / 392.4 MB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/0.04344, allocations: 12 kB / 392.4 MB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.502e-05/0.04348, allocations: 15.98 kB / 392.5 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.04375, allocations: 95.84 kB / 392.6 MB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.456e-05/0.04377, allocations: 19.92 kB / 392.6 MB, free: 3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.04407, allocations: 59.56 kB / 392.6 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/0.04412, allocations: 32.31 kB / 392.7 MB, free: 2.91 MB / 362.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.0001699/0.04429, allocations: 161.5 kB / 392.8 MB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.736e-05/0.04436, allocations: 27.91 kB / 392.8 MB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003184/0.04468, allocations: 140.6 kB / 393 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.04469, allocations: 4 kB / 393 MB, free: 2.566 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.04469, allocations: 0 / 393 MB, free: 2.566 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.0447, allocations: 4 kB / 393 MB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005741/0.04527, allocations: 344.5 kB / 393.3 MB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.04527, allocations: 0 / 393.3 MB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.618e-05/0.04535, allocations: 27.98 kB / 393.4 MB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.04535, allocations: 0 / 393.4 MB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.04537, allocations: 4 kB / 393.4 MB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.04537, allocations: 3.938 kB / 393.4 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.04537, allocations: 4.094 kB / 393.4 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.04563, allocations: 213.9 kB / 393.6 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.04569, allocations: 15.91 kB / 393.6 MB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.04573, allocations: 11.88 kB / 393.6 MB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.04589, allocations: 11.94 kB / 393.6 MB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.04591, allocations: 7.984 kB / 393.6 MB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.04594, allocations: 7.984 kB / 393.6 MB, free: 1.852 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001668/0.0461, allocations: 157.2 kB / 393.8 MB, free: 1.695 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0461, allocations: 0 / 393.8 MB, free: 1.695 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005373/0.04664, allocations: 83.94 kB / 393.9 MB, free: 1.613 MB / 362.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.0003516/0.04699, allocations: 163 kB / 394 MB, free: 1.445 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003439/0.04734, allocations: 169.9 kB / 394.2 MB, free: 1.281 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.04734, allocations: 0 / 394.2 MB, free: 1.281 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.545e-05/0.04738, allocations: 23.88 kB / 394.2 MB, free: 1.258 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.04786, allocations: 48.44 kB / 394.3 MB, free: 1.211 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.04899, allocations: 0.5126 MB / 394.8 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.04913, allocations: 120.5 kB / 394.9 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001962/0.04933, allocations: 51.39 kB / 394.9 MB, free: 484 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.965e-05/0.04939, allocations: 24.5 kB / 395 MB, free: 460 kB / 362.7 MB Notification: Performance of SimCode: time 9.71e-07/0.04939, allocations: 0 / 395 MB, free: 460 kB / 362.7 MB Notification: Performance of Templates: time 0.008372/0.05776, allocations: 3.116 MB / 398.1 MB, free: 13.38 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0167093619238585]