Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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.001287/0.001287, 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.001463/0.001463, allocations: 211.8 kB / 23.73 MB, free: 4.16 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2181/0.2181, allocations: 44.94 MB / 358.8 MB, free: 6.043 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.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",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.002074/0.002074, allocations: 68.17 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3304, allocations: 65.47 MB / 0.557 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.008101/0.3385, allocations: 4.977 MB / 0.5618 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003325/0.3418, allocations: 2.363 MB / 0.5642 GB, free: 156 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.566e-05/0.3419, allocations: 0 / 0.5642 GB, free: 156 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.3422, allocations: 43.7 kB / 0.5642 GB, free: 112 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003122/0.3453, allocations: 1.109 MB / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.3457, allocations: 151.3 kB / 0.5654 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004621/0.3461, allocations: 318.4 kB / 0.5657 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.923e-05/0.3462, allocations: 5.75 kB / 0.5657 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.3473, allocations: 0.6644 MB / 0.5664 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.3476, allocations: 155.5 kB / 0.5665 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.3476, allocations: 8 kB / 0.5665 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002304/0.3499, allocations: 1.217 MB / 0.5677 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.907e-05/0.35, allocations: 35.89 kB / 0.5678 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.3501, allocations: 71.66 kB / 0.5678 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.3512, allocations: 0.5181 MB / 0.5683 GB, free: 11.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3512, allocations: 0 / 0.5683 GB, free: 11.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3512, allocations: 0 / 0.5683 GB, free: 11.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.3512, allocations: 4 kB / 0.5683 GB, free: 11.86 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001286/0.3525, allocations: 0.4986 MB / 0.5688 GB, free: 11.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/0.3525, allocations: 12.03 kB / 0.5688 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/0.3527, allocations: 58.67 kB / 0.5689 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00048/0.3531, allocations: 48.81 kB / 0.5689 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.3536, allocations: 154.3 kB / 0.5691 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.3536, allocations: 16.12 kB / 0.5691 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.3537, allocations: 16 kB / 0.5691 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005882/0.3542, allocations: 318.9 kB / 0.5694 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3543, allocations: 0 / 0.5694 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.604e-05/0.3543, allocations: 12 kB / 0.5694 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.3543, allocations: 4 kB / 0.5694 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004308/0.3547, allocations: 244.4 kB / 0.5697 GB, free: 10.39 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.001639/0.3564, allocations: 1.049 MB / 0.5707 GB, free: 9.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.3566, allocations: 82.55 kB / 0.5708 GB, free: 9.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.31e-05/0.3567, allocations: 36.83 kB / 0.5708 GB, free: 9.141 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009866/0.3577, allocations: 460.4 kB / 0.5712 GB, free: 8.672 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003138/0.358, allocations: 194.7 kB / 0.5714 GB, free: 8.438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 2.074e-06/0.358, allocations: 0 / 0.5714 GB, free: 8.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001033/0.359, allocations: 364.7 kB / 0.5718 GB, free: 8.074 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002119/0.3592, allocations: 270 kB / 0.572 GB, free: 7.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.3594, allocations: 159.5 kB / 0.5722 GB, free: 7.586 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.149e-05/0.3595, allocations: 33.7 kB / 0.5722 GB, free: 7.547 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.3596, allocations: 152.2 kB / 0.5724 GB, free: 7.395 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.312e-05/0.3597, allocations: 67.42 kB / 0.5724 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.953e-05/0.3598, allocations: 61.69 kB / 0.5725 GB, free: 7.262 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3599, allocations: 326.8 kB / 0.5728 GB, free: 6.934 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.184e-05/0.36, allocations: 39.97 kB / 0.5728 GB, free: 6.895 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.3602, allocations: 187.5 kB / 0.573 GB, free: 6.645 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.3606, allocations: 258.3 kB / 0.5733 GB, free: 6.328 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3606, allocations: 0 / 0.5733 GB, free: 6.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004513/0.361, allocations: 265.3 kB / 0.5735 GB, free: 6.062 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.361, allocations: 8 kB / 0.5735 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3611, allocations: 4 kB / 0.5735 GB, free: 6.051 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.3611, allocations: 8 kB / 0.5735 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004865/0.3616, allocations: 99.86 kB / 0.5736 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004541/0.362, allocations: 0.598 MB / 0.5742 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.3622, allocations: 27.98 kB / 0.5742 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.3622, allocations: 16 kB / 0.5743 GB, free: 5.281 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001681/0.3624, allocations: 145.6 kB / 0.5744 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.3624, allocations: 11.95 kB / 0.5744 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004962/0.3629, allocations: 231.9 kB / 0.5746 GB, free: 4.863 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3629, allocations: 4 kB / 0.5746 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3629, allocations: 4.125 kB / 0.5746 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.363, allocations: 0 / 0.5746 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.3634, allocations: 346.8 kB / 0.575 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3634, allocations: 0 / 0.575 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000333/0.3638, allocations: 47.97 kB / 0.575 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.3638, allocations: 3.938 kB / 0.575 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.3638, allocations: 7.984 kB / 0.575 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003688/0.3642, allocations: 0.586 MB / 0.5756 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3642, allocations: 0 / 0.5756 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.3644, allocations: 150.6 kB / 0.5757 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.3645, allocations: 19.92 kB / 0.5758 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.3645, allocations: 16.08 kB / 0.5758 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.3646, allocations: 0 / 0.5758 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.3647, allocations: 19.92 kB / 0.5758 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.3647, allocations: 7.984 kB / 0.5758 GB, free: 3.562 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.3648, allocations: 127.8 kB / 0.5759 GB, free: 3.438 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3648, allocations: 0 / 0.5759 GB, free: 3.438 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005452/0.3653, allocations: 139.6 kB / 0.5761 GB, free: 3.301 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008973/0.3662, allocations: 0.8244 MB / 0.5769 GB, free: 2.441 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004946/0.3667, allocations: 155.9 kB / 0.577 GB, free: 2.289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.3667, allocations: 4 kB / 0.577 GB, free: 2.285 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.3669, allocations: 43.91 kB / 0.5771 GB, free: 2.242 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.3673, allocations: 57.27 kB / 0.5771 GB, free: 2.188 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.3706, allocations: 2.535 MB / 0.5796 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.3707, allocations: 106.4 kB / 0.5797 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002396/0.371, allocations: 81.91 kB / 0.5798 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.3711, allocations: 51.42 kB / 0.5798 GB, free: 15.18 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3711, allocations: 0 / 0.5798 GB, free: 15.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03476/0.4058, allocations: 7.249 MB / 0.5869 GB, free: 8.094 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.13, allocations: 11.92 kB / 0.5869 GB, free: 8.082 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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.IncompleteMedia.Glycol47_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.156265744939446]