Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001451/0.001451, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001053/0.001053, allocations: 169 kB / 24.24 MB, free: 312 kB / 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.9607/0.9607, allocations: 158.6 MB / 186 MB, free: 2.91 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.14/0.14, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 347.7 MB, free: 9.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.733e-05/3.936e-05, allocations: 8.219 kB / 347.7 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005747/0.005786, allocations: 4.63 MB / 352.3 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.008344, allocations: 4.107 MB / 356.4 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.008453, allocations: 0 / 356.4 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.008725, allocations: 51.66 kB / 356.5 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.01011, allocations: 0.7649 MB / 357.3 MB, free: 144 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.01035, allocations: 131.8 kB / 357.4 MB, free: 12 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005123/0.01087, allocations: 381.9 kB / 357.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.01092, allocations: 9.812 kB / 357.8 MB, free: 15.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.01112, allocations: 191.5 kB / 358 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.01131, allocations: 135.6 kB / 358.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.01134, allocations: 8 kB / 358.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006476/0.01199, allocations: 383.2 kB / 358.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.847e-05/0.01209, allocations: 47.77 kB / 358.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.644e-05/0.01219, allocations: 87.77 kB / 358.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006474/0.01283, allocations: 470.5 kB / 359.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.01284, allocations: 0 / 359.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.01284, allocations: 0 / 359.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.01285, allocations: 0 / 359.1 MB, free: 14.33 MB / 298.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.0009449/0.01379, allocations: 0.6323 MB / 359.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.01384, allocations: 12.03 kB / 359.7 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.01402, allocations: 48.78 kB / 359.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.01427, allocations: 176.2 kB / 359.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.0144, allocations: 218.7 kB / 360.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.01443, allocations: 28.38 kB / 360.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004337/0.01487, allocations: 442.2 kB / 360.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.01488, allocations: 192 / 360.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.01491, allocations: 15.94 kB / 360.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/0.01495, allocations: 8 kB / 360.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004375/0.01538, allocations: 0.5294 MB / 361.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.01655, allocations: 1.339 MB / 362.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.01687, allocations: 144.2 kB / 362.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.814e-05/0.01695, allocations: 64.31 kB / 362.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/0.01799, allocations: 0.8245 MB / 363.5 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.01803, allocations: 41.39 kB / 363.6 MB, free: 9.531 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.01803, allocations: 0 / 363.6 MB, free: 9.531 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002576/0.01829, allocations: 113.5 kB / 363.7 MB, free: 9.414 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.01832, allocations: 51.41 kB / 363.7 MB, free: 9.352 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.0185, allocations: 298.4 kB / 364 MB, free: 9.043 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.01852, allocations: 25.7 kB / 364 MB, free: 9.012 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.01864, allocations: 274.2 kB / 364.3 MB, free: 8.738 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.01868, allocations: 47.62 kB / 364.4 MB, free: 8.691 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.01876, allocations: 91.75 kB / 364.4 MB, free: 8.594 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.01892, allocations: 0.5 MB / 364.9 MB, free: 8.082 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.231e-05/0.01897, allocations: 40.91 kB / 365 MB, free: 8.043 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.01924, allocations: 475.9 kB / 365.4 MB, free: 7.375 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.01959, allocations: 0.5394 MB / 366 MB, free: 6.633 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.01959, allocations: 4 kB / 366 MB, free: 6.629 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003841/0.01997, allocations: 385.7 kB / 366.4 MB, free: 6.246 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.01999, allocations: 12.19 kB / 366.4 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.02001, allocations: 15.94 kB / 366.4 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.02003, allocations: 16 kB / 366.4 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.02018, allocations: 99.77 kB / 366.5 MB, free: 6.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.0202, allocations: 23.92 kB / 366.5 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.02033, allocations: 55.62 kB / 366.6 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.02036, allocations: 31.94 kB / 366.6 MB, free: 5.996 MB / 298.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.0001174/0.02048, allocations: 188.3 kB / 366.8 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.02051, allocations: 27.91 kB / 366.8 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.02076, allocations: 150.2 kB / 367 MB, free: 5.609 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.02077, allocations: 0 / 367 MB, free: 5.609 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.02078, allocations: 0 / 367 MB, free: 5.609 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.02078, allocations: 0 / 367 MB, free: 5.609 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.02114, allocations: 420.2 kB / 367.4 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.02114, allocations: 0 / 367.4 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.02118, allocations: 16 kB / 367.4 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.02118, allocations: 3.984 kB / 367.4 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.0212, allocations: 7.984 kB / 367.4 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.0212, allocations: 3.938 kB / 367.4 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.02121, allocations: 4 kB / 367.4 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.02139, allocations: 254.8 kB / 367.7 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.02142, allocations: 23.89 kB / 367.7 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.02145, allocations: 3.953 kB / 367.7 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.02152, allocations: 15.94 kB / 367.7 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.02155, allocations: 7.984 kB / 367.7 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.02156, allocations: 8 kB / 367.7 MB, free: 4.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001078/0.02167, allocations: 189.1 kB / 367.9 MB, free: 4.586 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02167, allocations: 0 / 367.9 MB, free: 4.586 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003699/0.02204, allocations: 99.86 kB / 368 MB, free: 4.488 MB / 298.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.0003252/0.02237, allocations: 163 kB / 368.2 MB, free: 4.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.0226, allocations: 170.7 kB / 368.3 MB, free: 4.152 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.0226, allocations: 0.875 kB / 368.3 MB, free: 4.152 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.74e-05/0.02263, allocations: 31.61 kB / 368.4 MB, free: 4.117 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.02293, allocations: 48.83 kB / 368.4 MB, free: 4.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.02402, allocations: 0.537 MB / 369 MB, free: 3.492 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.829e-05/0.02407, allocations: 72.33 kB / 369 MB, free: 3.402 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.0242, allocations: 58.86 kB / 369.1 MB, free: 3.344 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/0.02424, allocations: 28.5 kB / 369.1 MB, free: 3.312 MB / 298.7 MB Notification: Performance of SimCode: time 1.232e-06/0.02424, allocations: 0 / 369.1 MB, free: 3.312 MB / 298.7 MB Notification: Performance of Templates: time 0.005338/0.02958, allocations: 3.102 MB / 372.2 MB, free: 256 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.267433799104765]