Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.002011/0.002011, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002212/0.002212, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.514/1.514, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2319/0.2319, allocations: 44.91 MB / 359.6 MB, free: 6.293 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.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",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.00321/0.00321, allocations: 67.91 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3345, allocations: 65.47 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.008918/0.3434, allocations: 5.381 MB / 0.5631 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003511/0.3469, allocations: 2.659 MB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.408e-05/0.347, allocations: 0 / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.3473, allocations: 43.69 kB / 0.5657 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003063/0.3503, allocations: 1.14 MB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.3507, allocations: 162.5 kB / 0.567 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004904/0.3512, allocations: 310.4 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.853e-05/0.3512, allocations: 9.75 kB / 0.5673 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.3525, allocations: 0.7559 MB / 0.568 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.3528, allocations: 163.5 kB / 0.5682 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.3528, allocations: 4 kB / 0.5682 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.3553, allocations: 1.381 MB / 0.5695 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.227e-05/0.3553, allocations: 35.83 kB / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.3554, allocations: 75.66 kB / 0.5696 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009266/0.3564, allocations: 0.5317 MB / 0.5702 GB, free: 11.11 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3564, allocations: 0 / 0.5702 GB, free: 11.11 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3564, allocations: 4 kB / 0.5702 GB, free: 11.11 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.351e-06/0.3564, allocations: 0 / 0.5702 GB, free: 11.11 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.001034/0.3574, allocations: 0.5045 MB / 0.5707 GB, free: 10.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3575, allocations: 8.031 kB / 0.5707 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.483e-05/0.3575, allocations: 8.188 kB / 0.5707 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.438e-05/0.3575, allocations: 50.73 kB / 0.5707 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004625/0.358, allocations: 48.81 kB / 0.5708 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.3583, allocations: 158.2 kB / 0.5709 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.3583, allocations: 15.94 kB / 0.5709 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.3583, allocations: 20 kB / 0.5709 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004691/0.3588, allocations: 241.8 kB / 0.5712 GB, free: 9.969 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3588, allocations: 0 / 0.5712 GB, free: 9.969 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.3588, allocations: 8 kB / 0.5712 GB, free: 9.961 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3589, allocations: 4 kB / 0.5712 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000385/0.3592, allocations: 244.5 kB / 0.5714 GB, free: 9.719 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.001303/0.3605, allocations: 1.114 MB / 0.5725 GB, free: 8.523 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.3608, allocations: 84.83 kB / 0.5726 GB, free: 8.434 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.256e-05/0.3608, allocations: 48.78 kB / 0.5726 GB, free: 8.383 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008704/0.3617, allocations: 460.4 kB / 0.5731 GB, free: 7.914 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002638/0.362, allocations: 178.9 kB / 0.5732 GB, free: 7.699 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.362, allocations: 0 / 0.5732 GB, free: 7.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009632/0.3629, allocations: 365.2 kB / 0.5736 GB, free: 7.336 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.3631, allocations: 261 kB / 0.5738 GB, free: 7.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.3632, allocations: 157.4 kB / 0.574 GB, free: 6.859 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.3633, allocations: 29.7 kB / 0.574 GB, free: 6.824 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.3634, allocations: 148.8 kB / 0.5742 GB, free: 6.676 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.953e-05/0.3635, allocations: 71.41 kB / 0.5742 GB, free: 6.605 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.719e-05/0.3635, allocations: 69.64 kB / 0.5743 GB, free: 6.531 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3637, allocations: 322.9 kB / 0.5746 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.609e-05/0.3638, allocations: 43.98 kB / 0.5746 GB, free: 6.164 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.364, allocations: 187.5 kB / 0.5748 GB, free: 5.914 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.3643, allocations: 254.6 kB / 0.5751 GB, free: 5.598 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3643, allocations: 3.938 kB / 0.5751 GB, free: 5.594 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004673/0.3648, allocations: 265.5 kB / 0.5753 GB, free: 5.328 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.3648, allocations: 8 kB / 0.5753 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3648, allocations: 4 kB / 0.5753 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.3649, allocations: 8 kB / 0.5753 GB, free: 5.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000523/0.3654, allocations: 95.88 kB / 0.5754 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004266/0.3658, allocations: 0.5979 MB / 0.576 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.366, allocations: 16.02 kB / 0.576 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.366, allocations: 20 kB / 0.5761 GB, free: 4.559 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.0001582/0.3662, allocations: 137.7 kB / 0.5762 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.3662, allocations: 19.89 kB / 0.5762 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005647/0.3668, allocations: 227.9 kB / 0.5764 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.3668, allocations: 7.922 kB / 0.5764 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.3668, allocations: 4 kB / 0.5764 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.3668, allocations: 3.984 kB / 0.5764 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.3673, allocations: 342.8 kB / 0.5768 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3673, allocations: 0 / 0.5768 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/0.3677, allocations: 51.89 kB / 0.5768 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.3677, allocations: 4 kB / 0.5768 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.3677, allocations: 8.094 kB / 0.5768 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003953/0.3681, allocations: 0.586 MB / 0.5774 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3681, allocations: 0 / 0.5774 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.3683, allocations: 150.8 kB / 0.5775 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.3684, allocations: 19.94 kB / 0.5776 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.3684, allocations: 11.89 kB / 0.5776 GB, free: 2.867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.3686, allocations: 3.984 kB / 0.5776 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.3686, allocations: 11.98 kB / 0.5776 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.3686, allocations: 11.94 kB / 0.5776 GB, free: 2.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.3687, allocations: 135.6 kB / 0.5777 GB, free: 2.707 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3687, allocations: 96 / 0.5777 GB, free: 2.707 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005424/0.3693, allocations: 143.7 kB / 0.5779 GB, free: 2.566 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.001032/0.3703, allocations: 0.8206 MB / 0.5787 GB, free: 1.711 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005154/0.3708, allocations: 156.4 kB / 0.5788 GB, free: 1.559 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3708, allocations: 0 / 0.5788 GB, free: 1.559 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.371, allocations: 47.91 kB / 0.5789 GB, free: 1.512 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.3715, allocations: 52.69 kB / 0.5789 GB, free: 1.461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.3751, allocations: 2.545 MB / 0.5814 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.3754, allocations: 0.7168 MB / 0.5821 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002337/0.3756, allocations: 66.02 kB / 0.5822 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.3758, allocations: 63.33 kB / 0.5822 GB, free: 13.83 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3758, allocations: 0 / 0.5822 GB, free: 13.83 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0292/0.405, allocations: 6.738 MB / 0.5888 GB, free: 7.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.11, allocations: 4.062 kB / 0.5888 GB, free: 7.246 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.Essotherm650_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.325867998995818]