Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.0008948/0.0008948, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0008206/0.0008206, allocations: 166.3 kB / 23.96 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8897/0.8897, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1379/0.1379, allocations: 32.38 MB / 270.4 MB, free: 14.95 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.LinearWater_pT_Ambient,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_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,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_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 408.1 MB, free: 1.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.692e-05, allocations: 6.078 kB / 408.1 MB, free: 1.676 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.01843/0.01846, allocations: 24.03 MB / 432.2 MB, free: 9.551 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.02037, allocations: 2.667 MB / 434.8 MB, free: 6.875 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.804e-05/0.02046, allocations: 8 kB / 434.9 MB, free: 6.867 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.02071, allocations: 51.61 kB / 434.9 MB, free: 6.816 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.0221, allocations: 0.7649 MB / 435.7 MB, free: 6.047 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.02232, allocations: 135.6 kB / 435.8 MB, free: 5.914 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004104/0.02273, allocations: 385.9 kB / 436.2 MB, free: 5.535 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.02278, allocations: 9.797 kB / 436.2 MB, free: 5.523 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01878/0.04155, allocations: 15.45 MB / 451.6 MB, free: 5.949 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.04178, allocations: 127.7 kB / 451.8 MB, free: 5.824 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.0418, allocations: 8 kB / 451.8 MB, free: 5.816 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003809/0.04561, allocations: 3.394 MB / 455.2 MB, free: 2.391 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.13e-05/0.04568, allocations: 43.81 kB / 455.2 MB, free: 2.348 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 7.855e-05/0.04576, allocations: 87.77 kB / 455.3 MB, free: 2.262 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006016/0.04636, allocations: 482.6 kB / 455.8 MB, free: 1.789 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.04636, allocations: 7.938 kB / 455.8 MB, free: 1.781 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.04636, allocations: 0 / 455.8 MB, free: 1.781 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.04637, allocations: 0 / 455.8 MB, free: 1.781 MB / 426.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.0007761/0.04715, allocations: 0.5285 MB / 456.3 MB, free: 1.223 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.04718, allocations: 12.03 kB / 456.3 MB, free: 1.211 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.04729, allocations: 24.84 kB / 456.3 MB, free: 1.188 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.04753, allocations: 169.5 kB / 456.5 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.04764, allocations: 226.7 kB / 456.7 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.04766, allocations: 16.38 kB / 456.7 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003679/0.04803, allocations: 493.7 kB / 457.2 MB, free: 172 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.04804, allocations: 3.938 kB / 457.2 MB, free: 168 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.04806, allocations: 12 kB / 457.2 MB, free: 156 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.04808, allocations: 11.94 kB / 457.2 MB, free: 144 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004819/0.04856, allocations: 0.712 MB / 458 MB, free: 15.43 MB / 442.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.0008315/0.04939, allocations: 1.05 MB / 459 MB, free: 14.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.04963, allocations: 155.7 kB / 459.2 MB, free: 14.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.04971, allocations: 73.48 kB / 459.2 MB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008025/0.05051, allocations: 0.7232 MB / 460 MB, free: 13.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.05053, allocations: 42.55 kB / 460 MB, free: 13.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.05053, allocations: 0 / 460 MB, free: 13.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002041/0.05073, allocations: 113.5 kB / 460.1 MB, free: 13.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.05076, allocations: 55.41 kB / 460.2 MB, free: 13.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.0509, allocations: 238.7 kB / 460.4 MB, free: 12.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.05091, allocations: 25.7 kB / 460.4 MB, free: 12.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.637e-05/0.05099, allocations: 231.4 kB / 460.6 MB, free: 12.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.05101, allocations: 39.62 kB / 460.7 MB, free: 12.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/0.05107, allocations: 86.09 kB / 460.8 MB, free: 12.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.786e-05/0.05115, allocations: 330.8 kB / 461.1 MB, free: 12.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.455e-05/0.05121, allocations: 48.95 kB / 461.1 MB, free: 12.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.05137, allocations: 348.1 kB / 461.5 MB, free: 11.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.05163, allocations: 444.5 kB / 461.9 MB, free: 11.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.05163, allocations: 4 kB / 461.9 MB, free: 11.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003303/0.05196, allocations: 381.1 kB / 462.3 MB, free: 10.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.05198, allocations: 12 kB / 462.3 MB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.05199, allocations: 8 kB / 462.3 MB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.052, allocations: 16.81 kB / 462.3 MB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.05213, allocations: 95.83 kB / 462.4 MB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.05214, allocations: 27.92 kB / 462.4 MB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.05227, allocations: 51.56 kB / 462.5 MB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.05229, allocations: 32 kB / 462.5 MB, free: 10.4 MB / 442.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 8.494e-05/0.05238, allocations: 149.5 kB / 462.7 MB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.0524, allocations: 23.86 kB / 462.7 MB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.05258, allocations: 153 kB / 462.8 MB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.05259, allocations: 0 / 462.8 MB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.05259, allocations: 0 / 462.8 MB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.05259, allocations: 48 / 462.8 MB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.05284, allocations: 360.5 kB / 463.2 MB, free: 9.664 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.05284, allocations: 0 / 463.2 MB, free: 9.664 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.788e-05/0.05287, allocations: 19.92 kB / 463.2 MB, free: 9.645 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.05287, allocations: 4.094 kB / 463.2 MB, free: 9.641 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.05288, allocations: 8 kB / 463.2 MB, free: 9.633 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.05289, allocations: 3.938 kB / 463.2 MB, free: 9.629 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.05289, allocations: 0 / 463.2 MB, free: 9.629 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.053, allocations: 201.9 kB / 463.4 MB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/0.05302, allocations: 15.91 kB / 463.4 MB, free: 9.391 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.05304, allocations: 15.89 kB / 463.5 MB, free: 9.375 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.05311, allocations: 7.922 kB / 463.5 MB, free: 9.367 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.05313, allocations: 4 kB / 463.5 MB, free: 9.363 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.05314, allocations: 11.98 kB / 463.5 MB, free: 9.352 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.713e-05/0.05322, allocations: 157.2 kB / 463.6 MB, free: 9.199 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05322, allocations: 0 / 463.6 MB, free: 9.199 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003059/0.05352, allocations: 95.88 kB / 463.7 MB, free: 9.105 MB / 442.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.0002044/0.05373, allocations: 171 kB / 463.9 MB, free: 8.926 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.05391, allocations: 157.4 kB / 464.1 MB, free: 8.773 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.05391, allocations: 0 / 464.1 MB, free: 8.773 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.293e-05/0.05393, allocations: 27.92 kB / 464.1 MB, free: 8.746 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.0542, allocations: 41.78 kB / 464.1 MB, free: 8.707 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006221/0.05482, allocations: 0.5304 MB / 464.7 MB, free: 8.137 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.973e-05/0.05489, allocations: 112.6 kB / 464.8 MB, free: 8.008 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.05493, allocations: 36.58 kB / 464.8 MB, free: 7.969 MB / 442.7 MB Notification: Performance of SimCode: time 4.01e-07/0.05493, allocations: 0 / 464.8 MB, free: 7.969 MB / 442.7 MB Notification: Performance of Templates: time 0.003531/0.05846, allocations: 3.508 MB / 468.3 MB, free: 4.457 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.021894123405218]