Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001766/0.001766, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002358/0.002358, allocations: 212.2 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 230.2 MB / 256.7 MB, free: 8.625 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2227/0.2227, allocations: 46.89 MB / 359.9 MB, free: 5.004 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 75.88 kB / 0.495 GB, free: 8.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.307, allocations: 65.99 MB / 0.5594 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006296/0.3133, allocations: 4.619 MB / 0.5639 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004712/0.318, allocations: 4.022 MB / 0.5679 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.3182, allocations: 0 / 0.5679 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.3184, allocations: 55.61 kB / 0.5679 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001838/0.3203, allocations: 0.7266 MB / 0.5686 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.3206, allocations: 134.7 kB / 0.5688 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005533/0.3212, allocations: 378.1 kB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.226e-05/0.3212, allocations: 9.672 kB / 0.5691 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.3214, allocations: 143.5 kB / 0.5693 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.3217, allocations: 155.4 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.3217, allocations: 8 kB / 0.5694 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.3228, allocations: 439.4 kB / 0.5698 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.961e-05/0.3228, allocations: 39.83 kB / 0.5699 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.323, allocations: 107.5 kB / 0.57 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007992/0.3238, allocations: 476.9 kB / 0.5704 GB, free: 9.867 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3238, allocations: 0 / 0.5704 GB, free: 9.867 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3238, allocations: 4 kB / 0.5704 GB, free: 9.863 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.3238, allocations: 0 / 0.5704 GB, free: 9.863 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.001192/0.325, allocations: 0.6 MB / 0.571 GB, free: 9.215 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.325, allocations: 12.03 kB / 0.571 GB, free: 9.203 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.3252, allocations: 32.83 kB / 0.5711 GB, free: 9.172 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.3256, allocations: 228 kB / 0.5713 GB, free: 8.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.3257, allocations: 123.9 kB / 0.5714 GB, free: 8.766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.3257, allocations: 16.38 kB / 0.5714 GB, free: 8.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.3263, allocations: 335.5 kB / 0.5717 GB, free: 8.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3263, allocations: 0 / 0.5717 GB, free: 8.395 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.3263, allocations: 12 kB / 0.5718 GB, free: 8.383 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.3264, allocations: 8 kB / 0.5718 GB, free: 8.375 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009159/0.3273, allocations: 0.7429 MB / 0.5725 GB, free: 7.629 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.001521/0.3288, allocations: 1.3 MB / 0.5738 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.3292, allocations: 147.8 kB / 0.5739 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.3293, allocations: 85.41 kB / 0.574 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002723/0.332, allocations: 2.813 MB / 0.5767 GB, free: 2.629 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.3321, allocations: 34.56 kB / 0.5768 GB, free: 2.586 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.3321, allocations: 0 / 0.5768 GB, free: 2.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003019/0.3324, allocations: 129.4 kB / 0.5769 GB, free: 2.453 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.3324, allocations: 55.41 kB / 0.5769 GB, free: 2.387 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.3326, allocations: 220.7 kB / 0.5771 GB, free: 2.164 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.3326, allocations: 25.7 kB / 0.5772 GB, free: 2.133 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.3328, allocations: 223.4 kB / 0.5774 GB, free: 1.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.3328, allocations: 47.62 kB / 0.5774 GB, free: 1.863 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.3329, allocations: 82.08 kB / 0.5775 GB, free: 1.777 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3331, allocations: 330.8 kB / 0.5778 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.338e-05/0.3332, allocations: 52.78 kB / 0.5779 GB, free: 1.391 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/0.3335, allocations: 347.2 kB / 0.5782 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/0.3339, allocations: 440.6 kB / 0.5786 GB, free: 336 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.3339, allocations: 4 kB / 0.5786 GB, free: 332 kB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005692/0.3345, allocations: 385.2 kB / 0.579 GB, free: 15.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.3345, allocations: 12 kB / 0.579 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3345, allocations: 8 kB / 0.579 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.099e-05/0.3346, allocations: 19.94 kB / 0.579 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.3348, allocations: 100.5 kB / 0.5791 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.122e-05/0.3348, allocations: 19.94 kB / 0.5792 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.3351, allocations: 55.62 kB / 0.5792 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.3351, allocations: 31.98 kB / 0.5792 GB, free: 15.7 MB / 430.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.000134/0.3352, allocations: 149.6 kB / 0.5794 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.3353, allocations: 23.84 kB / 0.5794 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.3356, allocations: 141 kB / 0.5795 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.3356, allocations: 7.922 kB / 0.5795 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.3356, allocations: 4 kB / 0.5795 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3356, allocations: 0 / 0.5795 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004904/0.3361, allocations: 416.8 kB / 0.5799 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3361, allocations: 96 / 0.5799 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.685e-05/0.3361, allocations: 15.94 kB / 0.58 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3361, allocations: 3.984 kB / 0.58 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.3361, allocations: 4 kB / 0.58 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3361, allocations: 0 / 0.58 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3361, allocations: 0 / 0.58 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.3363, allocations: 209.9 kB / 0.5802 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.142e-05/0.3364, allocations: 97 kB / 0.5803 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.3365, allocations: 15.83 kB / 0.5803 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.3366, allocations: 7.984 kB / 0.5803 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.3366, allocations: 11.94 kB / 0.5803 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.3367, allocations: 4 kB / 0.5803 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001407/0.3368, allocations: 152.5 kB / 0.5804 GB, free: 14.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3368, allocations: 4 kB / 0.5804 GB, free: 14.33 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004955/0.3373, allocations: 91.92 kB / 0.5805 GB, free: 14.24 MB / 430.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.0002617/0.3376, allocations: 159.1 kB / 0.5807 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002927/0.3378, allocations: 164.7 kB / 0.5808 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3378, allocations: 0 / 0.5808 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.405e-05/0.3379, allocations: 29.61 kB / 0.5809 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.3383, allocations: 56.55 kB / 0.5809 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009933/0.3393, allocations: 0.5556 MB / 0.5815 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.3396, allocations: 0.7206 MB / 0.5822 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.3397, allocations: 31.44 kB / 0.5822 GB, free: 12.45 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3397, allocations: 0 / 0.5822 GB, free: 12.45 MB / 430.1 MB Notification: Performance of Templates: time 0.005698/0.3454, allocations: 3.357 MB / 0.5855 GB, free: 9.105 MB / 430.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! [Timeout remaining time 660] Reference file matches