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.001752/0.001752, allocations: 109.4 kB / 20.43 MB, free: 1.473 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.002417/0.002417, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2245/0.2245, allocations: 44.91 MB / 358.8 MB, free: 6.391 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.002202/0.002202, allocations: 71.89 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3462, allocations: 65.47 MB / 0.5571 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.008213/0.3544, allocations: 4.652 MB / 0.5616 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005907/0.3603, allocations: 4.029 MB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002275/0.3606, allocations: 0 / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003664/0.3609, allocations: 59.64 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.3634, allocations: 0.7383 MB / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.3639, allocations: 135.5 kB / 0.5665 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007486/0.3646, allocations: 382.1 kB / 0.5668 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.546e-05/0.3647, allocations: 9.812 kB / 0.5668 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003138/0.365, allocations: 147.5 kB / 0.567 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003385/0.3653, allocations: 155.4 kB / 0.5671 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.3654, allocations: 8 kB / 0.5671 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.3664, allocations: 443.4 kB / 0.5675 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.821e-05/0.3665, allocations: 43.83 kB / 0.5676 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.3667, allocations: 111.5 kB / 0.5677 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.3679, allocations: 480.3 kB / 0.5682 GB, free: 12.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3679, allocations: 0 / 0.5682 GB, free: 12.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3679, allocations: 0 / 0.5682 GB, free: 12.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.3679, allocations: 0 / 0.5682 GB, free: 12.36 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.0013/0.3692, allocations: 0.5285 MB / 0.5687 GB, free: 11.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3692, allocations: 8.031 kB / 0.5687 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.769e-05/0.3693, allocations: 62.72 kB / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.3695, allocations: 24.84 kB / 0.5688 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.3698, allocations: 166.2 kB / 0.5689 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.37, allocations: 230.6 kB / 0.5691 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.37, allocations: 28.12 kB / 0.5692 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005582/0.3706, allocations: 334.8 kB / 0.5695 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3706, allocations: 0 / 0.5695 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.3706, allocations: 12 kB / 0.5695 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.3707, allocations: 11.98 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008697/0.3715, allocations: 0.7586 MB / 0.5702 GB, free: 10.07 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.001487/0.373, allocations: 1.28 MB / 0.5715 GB, free: 8.684 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.3734, allocations: 155.7 kB / 0.5716 GB, free: 8.523 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.3735, allocations: 77.48 kB / 0.5717 GB, free: 8.445 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00159/0.3751, allocations: 0.7349 MB / 0.5724 GB, free: 7.691 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.3751, allocations: 30.56 kB / 0.5725 GB, free: 7.652 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.3751, allocations: 0 / 0.5725 GB, free: 7.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003046/0.3754, allocations: 129.3 kB / 0.5726 GB, free: 7.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.3755, allocations: 51.41 kB / 0.5726 GB, free: 7.457 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.3757, allocations: 227.9 kB / 0.5729 GB, free: 7.227 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.3757, allocations: 33.69 kB / 0.5729 GB, free: 7.188 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.3759, allocations: 215.5 kB / 0.5731 GB, free: 6.973 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.3759, allocations: 59.56 kB / 0.5731 GB, free: 6.914 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.376, allocations: 82.08 kB / 0.5732 GB, free: 6.828 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3762, allocations: 326.8 kB / 0.5735 GB, free: 6.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.875e-05/0.3763, allocations: 48.83 kB / 0.5736 GB, free: 6.449 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.3766, allocations: 339.2 kB / 0.5739 GB, free: 5.973 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005309/0.3771, allocations: 448.5 kB / 0.5743 GB, free: 5.387 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/0.3771, allocations: 4 kB / 0.5743 GB, free: 5.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006465/0.3778, allocations: 381.7 kB / 0.5747 GB, free: 5.004 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3778, allocations: 12.19 kB / 0.5747 GB, free: 4.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.3778, allocations: 12.05 kB / 0.5747 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.579e-05/0.3779, allocations: 27.86 kB / 0.5748 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.3781, allocations: 95.83 kB / 0.5748 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/0.3781, allocations: 23.92 kB / 0.5749 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.3784, allocations: 55.62 kB / 0.5749 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.3784, allocations: 28 kB / 0.5749 GB, free: 4.754 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.0001433/0.3786, allocations: 157.5 kB / 0.5751 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.3786, allocations: 15.91 kB / 0.5751 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.3789, allocations: 152.8 kB / 0.5753 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.3789, allocations: 4 kB / 0.5753 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.379, allocations: 0 / 0.5753 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.379, allocations: 0 / 0.5753 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005377/0.3795, allocations: 380 kB / 0.5756 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.3795, allocations: 3.984 kB / 0.5756 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.684e-05/0.3796, allocations: 19.94 kB / 0.5756 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3796, allocations: 0 / 0.5756 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3796, allocations: 4 kB / 0.5757 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3796, allocations: 0 / 0.5757 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3796, allocations: 0 / 0.5757 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.3798, allocations: 217.9 kB / 0.5759 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/0.3799, allocations: 15.84 kB / 0.5759 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.3799, allocations: 11.94 kB / 0.5759 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.38, allocations: 8 kB / 0.5759 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.3801, allocations: 11.98 kB / 0.5759 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.3801, allocations: 4 kB / 0.5759 GB, free: 3.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.3802, allocations: 156.5 kB / 0.5761 GB, free: 3.504 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3802, allocations: 0 / 0.5761 GB, free: 3.504 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000531/0.3808, allocations: 87.88 kB / 0.5761 GB, free: 3.418 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.0007953/0.3816, allocations: 0.8046 MB / 0.5769 GB, free: 2.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.3819, allocations: 168.6 kB / 0.5771 GB, free: 2.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3819, allocations: 1.812 kB / 0.5771 GB, free: 2.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.135e-05/0.3819, allocations: 23.92 kB / 0.5771 GB, free: 2.387 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.3824, allocations: 48.77 kB / 0.5772 GB, free: 2.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/0.3858, allocations: 2.803 MB / 0.5799 GB, free: 15.15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.3862, allocations: 0.7284 MB / 0.5806 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001863/0.3864, allocations: 46.84 kB / 0.5807 GB, free: 14.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.741e-05/0.3865, allocations: 63.41 kB / 0.5807 GB, free: 14.29 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3865, allocations: 0 / 0.5807 GB, free: 14.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03739/0.4239, allocations: 5.562 MB / 0.5861 GB, free: 8.875 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.4, allocations: 0 / 0.5861 GB, free: 8.875 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.585156195098534]