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.00177/0.00177, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001624/0.001624, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.518/1.518, allocations: 177.2 MB / 204.3 MB, free: 9.164 MB / 190.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.2161/0.2161, allocations: 34.28 MB / 294.9 MB, free: 14.56 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 1.873e-06/1.873e-06, allocations: 0 / 442.7 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.82e-05, allocations: 2.281 kB / 442.7 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007031/0.007059, allocations: 4.31 MB / 447 MB, free: 1.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2/0.2071, allocations: 3.584 MB / 450.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.2072, allocations: 1.312 kB / 450.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.2075, allocations: 55.78 kB / 450.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.2092, allocations: 0.7651 MB / 451.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.2095, allocations: 138.5 kB / 451.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004739/0.21, allocations: 386 kB / 451.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.301e-05/0.2101, allocations: 9.547 kB / 451.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.2103, allocations: 191 kB / 452.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.2106, allocations: 135.5 kB / 452.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.2106, allocations: 7.844 kB / 452.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007707/0.2114, allocations: 391.7 kB / 452.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.45e-05/0.2115, allocations: 41.75 kB / 452.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.2116, allocations: 88.5 kB / 452.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007308/0.2123, allocations: 482 kB / 453.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2123, allocations: 0 / 453.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.2123, allocations: 0 / 453.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2123, allocations: 1.375 kB / 453.3 MB, free: 14.46 MB / 366.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.001041/0.2134, allocations: 0.5374 MB / 453.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.2134, allocations: 10.28 kB / 453.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.2136, allocations: 24.67 kB / 453.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.2138, allocations: 170.4 kB / 454 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.2139, allocations: 227.9 kB / 454.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.214, allocations: 22 kB / 454.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005091/0.2145, allocations: 493.7 kB / 454.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.2145, allocations: 1.469 kB / 454.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.2145, allocations: 16.8 kB / 454.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.2146, allocations: 7.953 kB / 454.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008434/0.2154, allocations: 0.715 MB / 455.5 MB, free: 13.39 MB / 366.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.001083/0.2165, allocations: 1.038 MB / 456.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.2168, allocations: 156.8 kB / 456.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.2169, allocations: 82.73 kB / 456.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/0.2184, allocations: 0.7267 MB / 457.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.2184, allocations: 40.67 kB / 457.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.2184, allocations: 0 / 457.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003315/0.2187, allocations: 114 kB / 457.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.2187, allocations: 53.42 kB / 457.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.2189, allocations: 232.9 kB / 457.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.2189, allocations: 25.7 kB / 457.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.523e-05/0.219, allocations: 230.5 kB / 458.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.219, allocations: 43.2 kB / 458.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-05/0.2191, allocations: 86.39 kB / 458.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.281e-05/0.2192, allocations: 333.2 kB / 458.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.358e-05/0.2193, allocations: 50.06 kB / 458.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.2194, allocations: 350.8 kB / 459 MB, free: 10.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.2197, allocations: 441.8 kB / 459.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.2197, allocations: 3.812 kB / 459.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000542/0.2203, allocations: 383.1 kB / 459.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.2203, allocations: 10.55 kB / 459.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.2203, allocations: 10.78 kB / 459.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/0.2204, allocations: 14.44 kB / 459.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.2206, allocations: 97.44 kB / 459.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.263e-05/0.2206, allocations: 23.61 kB / 459.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.2209, allocations: 58.44 kB / 460 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.2209, allocations: 29.33 kB / 460 MB, free: 9.984 MB / 366.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 9.255e-05/0.221, allocations: 152.9 kB / 460.2 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.2211, allocations: 27.06 kB / 460.2 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.2213, allocations: 142.9 kB / 460.3 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.2213, allocations: 1.812 kB / 460.3 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2213, allocations: 0.7031 kB / 460.3 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2213, allocations: 7.391 kB / 460.4 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.2217, allocations: 349.4 kB / 460.7 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.2217, allocations: 2.891 kB / 460.7 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/0.2218, allocations: 16.08 kB / 460.7 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.2218, allocations: 1.969 kB / 460.7 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2218, allocations: 2.375 kB / 460.7 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2218, allocations: 1.797 kB / 460.7 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2218, allocations: 4.812 kB / 460.7 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.2219, allocations: 203.4 kB / 460.9 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.222, allocations: 31.33 kB / 461 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.222, allocations: 7.703 kB / 461 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.2222, allocations: 3.453 kB / 461 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.2222, allocations: 14.09 kB / 461 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.2222, allocations: 8.922 kB / 461 MB, free: 9.211 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.2223, allocations: 152.4 kB / 461.1 MB, free: 9.113 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2223, allocations: 0 / 461.1 MB, free: 9.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005019/0.2228, allocations: 95.83 kB / 461.2 MB, free: 9.094 MB / 366.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.0002499/0.2231, allocations: 175 kB / 461.4 MB, free: 8.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002852/0.2233, allocations: 161.7 kB / 461.6 MB, free: 8.922 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2233, allocations: 4.125 kB / 461.6 MB, free: 8.918 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.861e-05/0.2234, allocations: 25.17 kB / 461.6 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.2238, allocations: 41.7 kB / 461.6 MB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008747/0.2247, allocations: 0.495 MB / 462.1 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.478e-05/0.2248, allocations: 113 kB / 462.2 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001646/0.225, allocations: 55.28 kB / 462.3 MB, free: 8.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.225, allocations: 29.66 kB / 462.3 MB, free: 8.469 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.225, allocations: 0 / 462.3 MB, free: 8.469 MB / 366.1 MB Notification: Performance of Templates: time 0.007988/0.233, allocations: 3.085 MB / 465.4 MB, free: 8.02 MB / 366.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.066423233598471]