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.00181/0.00181, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001657/0.001657, allocations: 198 kB / 23.72 MB, free: 4.5 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.754 MB / 206.1 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.2148/0.2148, allocations: 44.92 MB / 358.8 MB, free: 6.152 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003396/0.003396, allocations: 67.89 kB / 0.4931 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3567, allocations: 65.47 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006057/0.3628, allocations: 4.311 MB / 0.5612 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004282/0.3671, allocations: 3.593 MB / 0.5647 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.3672, allocations: 4 kB / 0.5647 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.3674, allocations: 51.61 kB / 0.5648 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.3692, allocations: 0.7422 MB / 0.5655 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.3695, allocations: 131.4 kB / 0.5656 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005576/0.3701, allocations: 378.1 kB / 0.566 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.011e-05/0.3701, allocations: 13.81 kB / 0.566 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.3704, allocations: 151.4 kB / 0.5661 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.3706, allocations: 143.5 kB / 0.5663 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.3706, allocations: 8 kB / 0.5663 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008191/0.3715, allocations: 383.5 kB / 0.5666 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.779e-05/0.3715, allocations: 47.81 kB / 0.5667 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.3717, allocations: 95.59 kB / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00074/0.3724, allocations: 464.4 kB / 0.5672 GB, free: 13.01 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3724, allocations: 0 / 0.5672 GB, free: 13.01 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3724, allocations: 0 / 0.5672 GB, free: 13.01 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3724, allocations: 0 / 0.5672 GB, free: 13.01 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.001132/0.3735, allocations: 0.5302 MB / 0.5677 GB, free: 12.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3736, allocations: 8.031 kB / 0.5678 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.011e-05/0.3737, allocations: 62.72 kB / 0.5678 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.3738, allocations: 24.84 kB / 0.5678 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.3741, allocations: 166.2 kB / 0.568 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.3743, allocations: 230.6 kB / 0.5682 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.3744, allocations: 24.12 kB / 0.5682 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000618/0.375, allocations: 489.1 kB / 0.5687 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.375, allocations: 3.938 kB / 0.5687 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.375, allocations: 16 kB / 0.5687 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.375, allocations: 4 kB / 0.5687 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008551/0.3759, allocations: 0.7157 MB / 0.5694 GB, free: 10.58 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.001463/0.3774, allocations: 1.085 MB / 0.5705 GB, free: 9.426 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003831/0.3777, allocations: 151.7 kB / 0.5706 GB, free: 9.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.3779, allocations: 77.48 kB / 0.5707 GB, free: 9.191 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/0.3794, allocations: 0.7271 MB / 0.5714 GB, free: 8.445 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.3794, allocations: 34.56 kB / 0.5714 GB, free: 8.402 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.934e-06/0.3794, allocations: 3.938 kB / 0.5715 GB, free: 8.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002852/0.3797, allocations: 125.3 kB / 0.5716 GB, free: 8.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.3798, allocations: 51.41 kB / 0.5716 GB, free: 8.207 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.38, allocations: 239.8 kB / 0.5718 GB, free: 7.965 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.38, allocations: 25.7 kB / 0.5719 GB, free: 7.934 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.3801, allocations: 231.4 kB / 0.5721 GB, free: 7.703 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.3802, allocations: 43.69 kB / 0.5721 GB, free: 7.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.3803, allocations: 90.02 kB / 0.5722 GB, free: 7.566 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3804, allocations: 326.8 kB / 0.5725 GB, free: 7.238 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.737e-05/0.3805, allocations: 52.84 kB / 0.5726 GB, free: 7.184 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.3808, allocations: 343.2 kB / 0.5729 GB, free: 6.703 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.3813, allocations: 440.5 kB / 0.5733 GB, free: 6.125 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.3813, allocations: 11.98 kB / 0.5733 GB, free: 6.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005709/0.3819, allocations: 377.9 kB / 0.5737 GB, free: 5.738 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3819, allocations: 14.84 kB / 0.5737 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.3819, allocations: 12 kB / 0.5737 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.3819, allocations: 15.94 kB / 0.5737 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.3822, allocations: 103.8 kB / 0.5738 GB, free: 5.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/0.3822, allocations: 19.92 kB / 0.5739 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.3824, allocations: 55.62 kB / 0.5739 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/0.3825, allocations: 32 kB / 0.5739 GB, free: 5.492 MB / 414.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.0001313/0.3826, allocations: 153.5 kB / 0.5741 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.3826, allocations: 23.86 kB / 0.5741 GB, free: 5.309 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.3829, allocations: 152.8 kB / 0.5743 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.3829, allocations: 0 / 0.5743 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3829, allocations: 4 kB / 0.5743 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.383, allocations: 3.984 kB / 0.5743 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004731/0.3834, allocations: 376 kB / 0.5746 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3834, allocations: 0 / 0.5746 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.3835, allocations: 15.94 kB / 0.5746 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3835, allocations: 3.984 kB / 0.5746 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3835, allocations: 8 kB / 0.5747 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3835, allocations: 0 / 0.5747 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3835, allocations: 0 / 0.5747 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.3837, allocations: 205.9 kB / 0.5748 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.3838, allocations: 19.89 kB / 0.5749 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.3838, allocations: 11.98 kB / 0.5749 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.384, allocations: 8 kB / 0.5749 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.384, allocations: 7.984 kB / 0.5749 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.384, allocations: 4 kB / 0.5749 GB, free: 4.406 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.3842, allocations: 156.5 kB / 0.575 GB, free: 4.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3842, allocations: 0 / 0.575 GB, free: 4.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004818/0.3846, allocations: 96.05 kB / 0.5751 GB, free: 4.156 MB / 414.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.0006916/0.3853, allocations: 0.7966 MB / 0.5759 GB, free: 3.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002973/0.3856, allocations: 170.1 kB / 0.5761 GB, free: 3.156 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.3856, allocations: 0 / 0.5761 GB, free: 3.156 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.404e-05/0.3857, allocations: 28.19 kB / 0.5761 GB, free: 3.129 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.3861, allocations: 36.59 kB / 0.5761 GB, free: 3.094 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/0.3893, allocations: 2.822 MB / 0.5789 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.3894, allocations: 112.6 kB / 0.579 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.3896, allocations: 54.91 kB / 0.5791 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.718e-05/0.3897, allocations: 55.42 kB / 0.5791 GB, free: 15.65 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3897, allocations: 0 / 0.5791 GB, free: 15.65 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/0.4241, allocations: 5.867 MB / 0.5848 GB, free: 9.957 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.4, allocations: 3.938 kB / 0.5848 GB, free: 9.953 MB / 430.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/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: 14.441152402199805]