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.001907/0.001907, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002561/0.002561, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.435/1.435, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2264/0.2264, allocations: 46.93 MB / 360.9 MB, free: 4.246 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.002162/0.002162, allocations: 67.89 kB / 0.4962 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3667, allocations: 66.04 MB / 0.5607 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007076/0.3737, allocations: 4.641 MB / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005183/0.3789, allocations: 4.037 MB / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.3791, allocations: 4 kB / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003149/0.3794, allocations: 59.59 kB / 0.5692 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.3816, allocations: 0.7383 MB / 0.5699 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.382, allocations: 139.4 kB / 0.5701 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000652/0.3827, allocations: 382 kB / 0.5704 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.24e-05/0.3827, allocations: 9.812 kB / 0.5704 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002853/0.383, allocations: 143.5 kB / 0.5706 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.3833, allocations: 159.3 kB / 0.5707 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/0.3834, allocations: 11.98 kB / 0.5707 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.3844, allocations: 439.5 kB / 0.5712 GB, free: 9.648 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.489e-05/0.3845, allocations: 47.81 kB / 0.5712 GB, free: 9.602 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.3847, allocations: 103.5 kB / 0.5713 GB, free: 9.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.3857, allocations: 472.4 kB / 0.5718 GB, free: 9.039 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3857, allocations: 4 kB / 0.5718 GB, free: 9.035 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3857, allocations: 0 / 0.5718 GB, free: 9.035 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.3857, allocations: 0 / 0.5718 GB, free: 9.035 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.001254/0.387, allocations: 0.5285 MB / 0.5723 GB, free: 8.477 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.387, allocations: 12.03 kB / 0.5723 GB, free: 8.465 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.147e-05/0.3871, allocations: 58.73 kB / 0.5724 GB, free: 8.398 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.3872, allocations: 28.83 kB / 0.5724 GB, free: 8.371 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.3876, allocations: 170.2 kB / 0.5725 GB, free: 8.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.3878, allocations: 234.6 kB / 0.5728 GB, free: 7.898 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.3878, allocations: 28.11 kB / 0.5728 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/0.3884, allocations: 338.8 kB / 0.5731 GB, free: 7.516 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3884, allocations: 0 / 0.5731 GB, free: 7.516 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.3884, allocations: 12 kB / 0.5731 GB, free: 7.504 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.3884, allocations: 4 kB / 0.5731 GB, free: 7.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008841/0.3893, allocations: 0.7508 MB / 0.5739 GB, free: 6.746 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.001541/0.3909, allocations: 1.288 MB / 0.5751 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.3912, allocations: 147.8 kB / 0.5753 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.3914, allocations: 81.47 kB / 0.5753 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001667/0.393, allocations: 0.7348 MB / 0.5761 GB, free: 4.359 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.3931, allocations: 46.55 kB / 0.5761 GB, free: 4.305 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/0.3931, allocations: 0 / 0.5761 GB, free: 4.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003084/0.3934, allocations: 117.4 kB / 0.5762 GB, free: 4.184 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.3934, allocations: 55.41 kB / 0.5763 GB, free: 4.117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.3937, allocations: 223.9 kB / 0.5765 GB, free: 3.891 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.3937, allocations: 29.7 kB / 0.5765 GB, free: 3.855 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.3938, allocations: 219.5 kB / 0.5767 GB, free: 3.637 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.3939, allocations: 51.56 kB / 0.5768 GB, free: 3.586 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.394, allocations: 86.08 kB / 0.5768 GB, free: 3.496 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3942, allocations: 326.8 kB / 0.5772 GB, free: 3.168 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.605e-05/0.3942, allocations: 44.84 kB / 0.5772 GB, free: 3.121 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.3946, allocations: 351.2 kB / 0.5775 GB, free: 2.633 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005236/0.3951, allocations: 440.6 kB / 0.578 GB, free: 2.055 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.3951, allocations: 7.938 kB / 0.578 GB, free: 2.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006318/0.3958, allocations: 389.8 kB / 0.5783 GB, free: 1.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.3958, allocations: 10.34 kB / 0.5783 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.3958, allocations: 12 kB / 0.5784 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.079e-05/0.3958, allocations: 20 kB / 0.5784 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.3961, allocations: 103.8 kB / 0.5785 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/0.3961, allocations: 15.94 kB / 0.5785 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.3964, allocations: 55.61 kB / 0.5785 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.3964, allocations: 28 kB / 0.5786 GB, free: 1.422 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.0001468/0.3966, allocations: 149.5 kB / 0.5787 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.3966, allocations: 23.91 kB / 0.5787 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.3969, allocations: 148.5 kB / 0.5789 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.3969, allocations: 0 / 0.5789 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3969, allocations: 0 / 0.5789 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3969, allocations: 0 / 0.5789 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005271/0.3975, allocations: 384 kB / 0.5792 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3975, allocations: 0 / 0.5792 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.409e-05/0.3975, allocations: 20.05 kB / 0.5793 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3975, allocations: 4 kB / 0.5793 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.3975, allocations: 0 / 0.5793 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3975, allocations: 0 / 0.5793 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.3975, allocations: 4 kB / 0.5793 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.3978, allocations: 209.9 kB / 0.5795 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.3978, allocations: 27.83 kB / 0.5795 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.3979, allocations: 7.953 kB / 0.5795 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.398, allocations: 3.984 kB / 0.5795 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.398, allocations: 15.94 kB / 0.5795 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.3981, allocations: 7.984 kB / 0.5795 GB, free: 336 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.3982, allocations: 148.5 kB / 0.5797 GB, free: 188 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3982, allocations: 0 / 0.5797 GB, free: 188 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005212/0.3987, allocations: 99.86 kB / 0.5798 GB, free: 88 kB / 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.0007185/0.3994, allocations: 0.8008 MB / 0.5806 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003159/0.3997, allocations: 173 kB / 0.5807 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3998, allocations: 0 / 0.5807 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.055e-05/0.3998, allocations: 19.94 kB / 0.5807 GB, free: 15.06 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.4002, allocations: 49.94 kB / 0.5808 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/0.4036, allocations: 2.795 MB / 0.5835 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.4041, allocations: 0.7285 MB / 0.5842 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001962/0.4043, allocations: 54.91 kB / 0.5843 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.593e-05/0.4044, allocations: 55.42 kB / 0.5843 GB, free: 10.96 MB / 430.1 MB Notification: Performance of SimCode: time 9.41e-07/0.4044, allocations: 4 kB / 0.5843 GB, free: 10.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03496/0.4394, allocations: 5.561 MB / 0.5898 GB, free: 5.551 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.28, allocations: 8.062 kB / 0.5898 GB, free: 5.543 MB / 430.1 MB " [Timeout remaining time 649] (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.30456278892234]