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.00189/0.00189, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002103/0.002103, allocations: 222.1 kB / 23.73 MB, free: 4.164 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.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.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.2222/0.2222, allocations: 46.96 MB / 360.9 MB, free: 4.012 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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.91 kB / 0.4961 GB, free: 7.656 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.372, allocations: 66.04 MB / 0.5606 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.00664/0.3786, allocations: 4.306 MB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005048/0.3837, allocations: 3.578 MB / 0.5683 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.3838, allocations: 0 / 0.5683 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.3842, allocations: 63.61 kB / 0.5684 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002189/0.3864, allocations: 0.7421 MB / 0.5691 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.3868, allocations: 136.5 kB / 0.5692 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006515/0.3874, allocations: 374.1 kB / 0.5696 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.631e-05/0.3875, allocations: 9.797 kB / 0.5696 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.3877, allocations: 151.5 kB / 0.5698 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.388, allocations: 147.4 kB / 0.5699 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.388, allocations: 15.94 kB / 0.5699 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.389, allocations: 379.5 kB / 0.5703 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.906e-05/0.3891, allocations: 39.83 kB / 0.5703 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.3893, allocations: 95.58 kB / 0.5704 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007864/0.39, allocations: 468.4 kB / 0.5709 GB, free: 9.688 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.39, allocations: 0 / 0.5709 GB, free: 9.688 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.39, allocations: 0 / 0.5709 GB, free: 9.688 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.912e-06/0.3901, allocations: 0 / 0.5709 GB, free: 9.688 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.001226/0.3913, allocations: 0.5285 MB / 0.5714 GB, free: 9.129 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3913, allocations: 12.03 kB / 0.5714 GB, free: 9.117 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.191e-05/0.3914, allocations: 62.67 kB / 0.5714 GB, free: 9.047 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.3916, allocations: 28.83 kB / 0.5715 GB, free: 9.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.3919, allocations: 162.2 kB / 0.5716 GB, free: 8.836 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/0.3921, allocations: 234.7 kB / 0.5718 GB, free: 8.555 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.3922, allocations: 24.12 kB / 0.5719 GB, free: 8.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006618/0.3928, allocations: 489 kB / 0.5723 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3929, allocations: 4 kB / 0.5723 GB, free: 7.988 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.3929, allocations: 8 kB / 0.5723 GB, free: 7.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.3929, allocations: 8 kB / 0.5724 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008859/0.3938, allocations: 0.7234 MB / 0.5731 GB, free: 7.246 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.001454/0.3953, allocations: 1.077 MB / 0.5741 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.3956, allocations: 155.7 kB / 0.5743 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.3958, allocations: 77.47 kB / 0.5743 GB, free: 5.863 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001612/0.3974, allocations: 0.731 MB / 0.575 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.3974, allocations: 30.56 kB / 0.5751 GB, free: 5.074 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.3974, allocations: 0 / 0.5751 GB, free: 5.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003104/0.3977, allocations: 125.4 kB / 0.5752 GB, free: 4.945 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.3978, allocations: 55.34 kB / 0.5752 GB, free: 4.879 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.398, allocations: 235.8 kB / 0.5755 GB, free: 4.641 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.398, allocations: 33.7 kB / 0.5755 GB, free: 4.602 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.3982, allocations: 227.4 kB / 0.5757 GB, free: 4.375 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.3982, allocations: 43.69 kB / 0.5758 GB, free: 4.332 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.3983, allocations: 86.03 kB / 0.5758 GB, free: 4.242 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3985, allocations: 326.8 kB / 0.5762 GB, free: 3.914 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.161e-05/0.3986, allocations: 52.83 kB / 0.5762 GB, free: 3.859 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.3989, allocations: 339.2 kB / 0.5765 GB, free: 3.383 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/0.3994, allocations: 448.6 kB / 0.577 GB, free: 2.797 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.3994, allocations: 4 kB / 0.577 GB, free: 2.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005872/0.4, allocations: 377.4 kB / 0.5773 GB, free: 2.418 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.4, allocations: 12 kB / 0.5773 GB, free: 2.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.4001, allocations: 8 kB / 0.5773 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.4001, allocations: 19.94 kB / 0.5774 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.4003, allocations: 103.7 kB / 0.5775 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.442e-05/0.4004, allocations: 23.92 kB / 0.5775 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.4006, allocations: 52.16 kB / 0.5775 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.4007, allocations: 32 kB / 0.5776 GB, free: 2.172 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.000142/0.4008, allocations: 149.6 kB / 0.5777 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.4009, allocations: 27.84 kB / 0.5777 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.4012, allocations: 152.8 kB / 0.5779 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.4012, allocations: 0 / 0.5779 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4012, allocations: 0 / 0.5779 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4012, allocations: 3.938 kB / 0.5779 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005243/0.4017, allocations: 380 kB / 0.5782 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.4017, allocations: 4 kB / 0.5782 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.614e-05/0.4018, allocations: 8 kB / 0.5783 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.4018, allocations: 4 kB / 0.5783 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.4018, allocations: 4 kB / 0.5783 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.4018, allocations: 8.094 kB / 0.5783 GB, free: 1.363 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4018, allocations: 3.938 kB / 0.5783 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.402, allocations: 209.8 kB / 0.5785 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.623e-05/0.4021, allocations: 19.95 kB / 0.5785 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.4021, allocations: 11.89 kB / 0.5785 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.4022, allocations: 8 kB / 0.5785 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.4023, allocations: 7.984 kB / 0.5785 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.4023, allocations: 4 kB / 0.5785 GB, free: 1.078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.4024, allocations: 156.5 kB / 0.5787 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4024, allocations: 0 / 0.5787 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005204/0.4029, allocations: 91.88 kB / 0.5788 GB, free: 0.8359 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.0007564/0.4037, allocations: 0.797 MB / 0.5795 GB, free: 0 / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.404, allocations: 173.3 kB / 0.5797 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.404, allocations: 0 / 0.5797 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.131e-05/0.4041, allocations: 23.92 kB / 0.5797 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.4045, allocations: 41.7 kB / 0.5798 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/0.4079, allocations: 2.814 MB / 0.5825 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.408, allocations: 112.6 kB / 0.5826 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.4082, allocations: 50.84 kB / 0.5827 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.485e-05/0.4083, allocations: 63.41 kB / 0.5827 GB, free: 12.32 MB / 430.1 MB Notification: Performance of SimCode: time 4.6e-07/0.4083, allocations: 0 / 0.5827 GB, free: 12.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03174/0.44, allocations: 5.871 MB / 0.5885 GB, free: 6.637 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.4, allocations: 3.938 kB / 0.5885 GB, free: 6.633 MB / 430.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_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: 14.445346800610423]