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.001822/0.001822, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.001924/0.001924, allocations: 212.3 kB / 24.51 MB, free: 3.914 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.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.2252/0.2252, allocations: 46.96 MB / 361.7 MB, free: 4.027 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 59.91 kB / 0.4969 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3198, allocations: 66.03 MB / 0.5614 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006161/0.326, allocations: 4.306 MB / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00432/0.3303, allocations: 3.578 MB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.3304, allocations: 4 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.3307, allocations: 59.59 kB / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.3328, allocations: 0.7461 MB / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.3331, allocations: 131.5 kB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005731/0.3337, allocations: 378.1 kB / 0.5704 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.559e-05/0.3338, allocations: 9.812 kB / 0.5704 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.334, allocations: 155.4 kB / 0.5705 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.3342, allocations: 151.5 kB / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.129e-05/0.3343, allocations: 8 kB / 0.5707 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008662/0.3351, allocations: 387.5 kB / 0.571 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.714e-05/0.3352, allocations: 51.75 kB / 0.5711 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.3354, allocations: 95.58 kB / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007142/0.3361, allocations: 452.5 kB / 0.5716 GB, free: 9.703 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3361, allocations: 4 kB / 0.5716 GB, free: 9.699 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3361, allocations: 0 / 0.5716 GB, free: 9.699 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3361, allocations: 0 / 0.5716 GB, free: 9.699 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.001156/0.3372, allocations: 0.5324 MB / 0.5721 GB, free: 9.137 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3373, allocations: 8.031 kB / 0.5721 GB, free: 9.129 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.49e-05/0.3373, allocations: 12.69 kB / 0.5722 GB, free: 9.113 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.946e-05/0.3374, allocations: 66.67 kB / 0.5722 GB, free: 9.039 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.3375, allocations: 24.84 kB / 0.5722 GB, free: 9.016 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.3379, allocations: 166.2 kB / 0.5724 GB, free: 8.828 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/0.3381, allocations: 226.7 kB / 0.5726 GB, free: 8.559 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.3382, allocations: 27.94 kB / 0.5726 GB, free: 8.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006528/0.3388, allocations: 493 kB / 0.5731 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3388, allocations: 0 / 0.5731 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.3389, allocations: 8 kB / 0.5731 GB, free: 7.977 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.3389, allocations: 11.98 kB / 0.5731 GB, free: 7.965 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000848/0.3397, allocations: 0.7586 MB / 0.5739 GB, free: 7.203 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.001366/0.3411, allocations: 1.085 MB / 0.5749 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.3415, allocations: 155.7 kB / 0.5751 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.3416, allocations: 73.48 kB / 0.5752 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001529/0.3431, allocations: 0.7232 MB / 0.5759 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.3431, allocations: 30.56 kB / 0.5759 GB, free: 5.035 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.3431, allocations: 4 kB / 0.5759 GB, free: 5.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002939/0.3434, allocations: 121.4 kB / 0.576 GB, free: 4.906 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.3435, allocations: 55.34 kB / 0.5761 GB, free: 4.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3437, allocations: 227.9 kB / 0.5763 GB, free: 4.609 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.3437, allocations: 29.7 kB / 0.5763 GB, free: 4.574 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.3439, allocations: 223.5 kB / 0.5765 GB, free: 4.352 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.3439, allocations: 51.58 kB / 0.5766 GB, free: 4.301 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.344, allocations: 86.06 kB / 0.5767 GB, free: 4.211 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3441, allocations: 326.8 kB / 0.577 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/0.3442, allocations: 44.84 kB / 0.577 GB, free: 3.836 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.3446, allocations: 347.2 kB / 0.5773 GB, free: 3.352 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.345, allocations: 444.6 kB / 0.5778 GB, free: 2.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3451, allocations: 4 kB / 0.5778 GB, free: 2.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006032/0.3457, allocations: 385.9 kB / 0.5781 GB, free: 2.383 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.3457, allocations: 8 kB / 0.5781 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.3457, allocations: 19.92 kB / 0.5782 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-05/0.3457, allocations: 16.03 kB / 0.5782 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.346, allocations: 103.8 kB / 0.5783 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/0.346, allocations: 23.86 kB / 0.5783 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/0.3463, allocations: 55.62 kB / 0.5783 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.3463, allocations: 28 kB / 0.5784 GB, free: 2.133 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.0001577/0.3465, allocations: 153.5 kB / 0.5785 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.3465, allocations: 15.91 kB / 0.5785 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00032/0.3469, allocations: 148.9 kB / 0.5787 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.3469, allocations: 0 / 0.5787 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3469, allocations: 4 kB / 0.5787 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3469, allocations: 0 / 0.5787 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.3474, allocations: 380 kB / 0.579 GB, free: 1.363 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3474, allocations: 4.094 kB / 0.5791 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.451e-05/0.3475, allocations: 19.98 kB / 0.5791 GB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3475, allocations: 0 / 0.5791 GB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.3475, allocations: 4 kB / 0.5791 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3475, allocations: 0 / 0.5791 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.3475, allocations: 3.938 kB / 0.5791 GB, free: 1.332 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.3477, allocations: 209.8 kB / 0.5793 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.3478, allocations: 19.84 kB / 0.5793 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.3478, allocations: 11.94 kB / 0.5793 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.348, allocations: 4 kB / 0.5793 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.348, allocations: 11.98 kB / 0.5793 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.348, allocations: 4 kB / 0.5793 GB, free: 1.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.3482, allocations: 156.5 kB / 0.5795 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3482, allocations: 0 / 0.5795 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00054/0.3487, allocations: 91.88 kB / 0.5796 GB, free: 0.8086 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.0007795/0.3495, allocations: 0.797 MB / 0.5803 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003177/0.3498, allocations: 169.7 kB / 0.5805 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3498, allocations: 3.938 kB / 0.5805 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.17e-05/0.3498, allocations: 28.55 kB / 0.5805 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.3503, allocations: 44.41 kB / 0.5806 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.3537, allocations: 2.803 MB / 0.5833 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.3538, allocations: 116.6 kB / 0.5834 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002017/0.354, allocations: 46.84 kB / 0.5835 GB, free: 12.37 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.309e-05/0.3541, allocations: 59.42 kB / 0.5835 GB, free: 12.31 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3541, allocations: 0 / 0.5835 GB, free: 12.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.3793, allocations: 5.636 MB / 0.589 GB, free: 6.867 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.71, allocations: 15.56 kB / 0.589 GB, free: 6.855 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.929483794025145]