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.001368/0.001368, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00141/0.00141, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2267/0.2267, allocations: 44.93 MB / 359.6 MB, free: 6.137 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="cs",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.002025/0.002025, allocations: 67.89 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3309, allocations: 65.47 MB / 0.5578 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.007527/0.3385, allocations: 4.964 MB / 0.5626 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003076/0.3415, allocations: 2.367 MB / 0.5649 GB, free: 172 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.779e-05/0.3416, allocations: 3.938 kB / 0.5649 GB, free: 168 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.3419, allocations: 35.77 kB / 0.565 GB, free: 132 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003167/0.3451, allocations: 1.113 MB / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.3454, allocations: 147.2 kB / 0.5662 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.3459, allocations: 310.5 kB / 0.5665 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.018e-05/0.346, allocations: 5.75 kB / 0.5665 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.3471, allocations: 0.6762 MB / 0.5671 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.3474, allocations: 159.5 kB / 0.5673 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.3475, allocations: 8 kB / 0.5673 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00231/0.3498, allocations: 1.232 MB / 0.5685 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.637e-05/0.3499, allocations: 39.83 kB / 0.5685 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.35, allocations: 71.66 kB / 0.5686 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009737/0.3509, allocations: 0.5181 MB / 0.5691 GB, free: 11.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3509, allocations: 0 / 0.5691 GB, free: 11.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3509, allocations: 4 kB / 0.5691 GB, free: 11.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.351, allocations: 4 kB / 0.5691 GB, free: 11.85 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.001016/0.352, allocations: 0.4928 MB / 0.5696 GB, free: 11.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.352, allocations: 15.97 kB / 0.5696 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.021e-05/0.352, allocations: 4.188 kB / 0.5696 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.384e-05/0.3521, allocations: 50.73 kB / 0.5697 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004457/0.3525, allocations: 44.81 kB / 0.5697 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.3529, allocations: 162.3 kB / 0.5699 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.3529, allocations: 15.94 kB / 0.5699 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.3529, allocations: 20 kB / 0.5699 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000485/0.3534, allocations: 318.9 kB / 0.5702 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3534, allocations: 0 / 0.5702 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.3534, allocations: 12 kB / 0.5702 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.3535, allocations: 4 kB / 0.5702 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003883/0.3538, allocations: 244.4 kB / 0.5705 GB, free: 10.37 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.001321/0.3552, allocations: 1.041 MB / 0.5715 GB, free: 9.262 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.3554, allocations: 86.55 kB / 0.5716 GB, free: 9.168 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.234e-05/0.3555, allocations: 40.83 kB / 0.5716 GB, free: 9.125 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008688/0.3563, allocations: 456.5 kB / 0.572 GB, free: 8.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002751/0.3566, allocations: 188.7 kB / 0.5722 GB, free: 8.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.3566, allocations: 4 kB / 0.5722 GB, free: 8.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009899/0.3576, allocations: 372.3 kB / 0.5726 GB, free: 8.055 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/0.3578, allocations: 265 kB / 0.5728 GB, free: 7.734 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.3579, allocations: 152.9 kB / 0.573 GB, free: 7.578 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.3579, allocations: 33.64 kB / 0.573 GB, free: 7.539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.3581, allocations: 152.2 kB / 0.5731 GB, free: 7.387 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.096e-05/0.3582, allocations: 67.44 kB / 0.5732 GB, free: 7.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.3583, allocations: 66.45 kB / 0.5733 GB, free: 7.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.3585, allocations: 322.8 kB / 0.5736 GB, free: 6.926 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.914e-05/0.3586, allocations: 47.97 kB / 0.5736 GB, free: 6.879 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.3588, allocations: 191.5 kB / 0.5738 GB, free: 6.625 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.3591, allocations: 250.1 kB / 0.574 GB, free: 6.316 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3591, allocations: 4 kB / 0.5741 GB, free: 6.312 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004502/0.3596, allocations: 257.7 kB / 0.5743 GB, free: 6.055 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3596, allocations: 12.09 kB / 0.5743 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3596, allocations: 4 kB / 0.5743 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.3596, allocations: 8 kB / 0.5743 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/0.3601, allocations: 107.8 kB / 0.5744 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004044/0.3605, allocations: 0.5898 MB / 0.575 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.3607, allocations: 15.95 kB / 0.575 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.3607, allocations: 20 kB / 0.575 GB, free: 5.277 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.0001364/0.3608, allocations: 145.6 kB / 0.5752 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.96e-05/0.3609, allocations: 20 kB / 0.5752 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004883/0.3614, allocations: 232.5 kB / 0.5754 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3614, allocations: 3.938 kB / 0.5754 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3614, allocations: 0 / 0.5754 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3614, allocations: 4 kB / 0.5754 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.3618, allocations: 334.8 kB / 0.5757 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.3618, allocations: 0 / 0.5757 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.3622, allocations: 47.91 kB / 0.5758 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.3622, allocations: 8.078 kB / 0.5758 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3622, allocations: 4 kB / 0.5758 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003595/0.3626, allocations: 0.586 MB / 0.5764 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3626, allocations: 0 / 0.5764 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.3628, allocations: 150.5 kB / 0.5765 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.3629, allocations: 23.92 kB / 0.5765 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.3629, allocations: 7.953 kB / 0.5765 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.3631, allocations: 4 kB / 0.5765 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/0.3631, allocations: 11.97 kB / 0.5766 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.3631, allocations: 15.98 kB / 0.5766 GB, free: 3.562 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.3632, allocations: 131.8 kB / 0.5767 GB, free: 3.434 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3632, allocations: 0 / 0.5767 GB, free: 3.434 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005326/0.3638, allocations: 139.7 kB / 0.5768 GB, free: 3.297 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.0009364/0.3647, allocations: 0.8206 MB / 0.5776 GB, free: 2.441 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005013/0.3652, allocations: 144.8 kB / 0.5778 GB, free: 2.301 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3652, allocations: 4.188 kB / 0.5778 GB, free: 2.297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.3654, allocations: 55.84 kB / 0.5778 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.0004113/0.3658, allocations: 56.16 kB / 0.5779 GB, free: 2.188 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003374/0.3692, allocations: 2.549 MB / 0.5804 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.3693, allocations: 106.3 kB / 0.5805 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000248/0.3695, allocations: 65.72 kB / 0.5805 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.3697, allocations: 63.34 kB / 0.5806 GB, free: 15.17 MB / 430.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3697, allocations: 3.938 kB / 0.5806 GB, free: 15.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.3986, allocations: 6.954 MB / 0.5874 GB, free: 8.395 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.63, allocations: 11.11 kB / 0.5874 GB, free: 8.387 MB / 430.1 MB " [Timeout remaining time 646] (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.792105223052204]