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.001713/0.001713, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001547/0.001547, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2196/0.2196, allocations: 44.91 MB / 358.8 MB, free: 6.254 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.001958/0.001958, allocations: 67.84 kB / 0.4931 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3399, allocations: 65.47 MB / 0.5571 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.01224/0.3522, allocations: 5.369 MB / 0.5623 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005066/0.3572, allocations: 2.666 MB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.3574, allocations: 4 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003602/0.3578, allocations: 35.75 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004773/0.3625, allocations: 1.108 MB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006147/0.3631, allocations: 147.2 kB / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007663/0.3639, allocations: 322.3 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.213e-05/0.364, allocations: 9.75 kB / 0.5665 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001814/0.3658, allocations: 0.6644 MB / 0.5671 GB, free: 13.35 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005964/0.3664, allocations: 159.5 kB / 0.5673 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.3664, allocations: 8 kB / 0.5673 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004217/0.3706, allocations: 1.26 MB / 0.5685 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.645e-05/0.3707, allocations: 35.83 kB / 0.5685 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.3709, allocations: 87.59 kB / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.3726, allocations: 0.5298 MB / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.3726, allocations: 0 / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.3726, allocations: 3.938 kB / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.3726, allocations: 0 / 0.5692 GB, free: 11.27 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.001694/0.3743, allocations: 0.4967 MB / 0.5696 GB, free: 10.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.97e-05/0.3744, allocations: 8.031 kB / 0.5696 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.3745, allocations: 54.73 kB / 0.5697 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008596/0.3754, allocations: 48.81 kB / 0.5697 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004833/0.3758, allocations: 158.3 kB / 0.5699 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.3759, allocations: 16.12 kB / 0.5699 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.3759, allocations: 16 kB / 0.5699 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008477/0.3768, allocations: 241.8 kB / 0.5702 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.3768, allocations: 4 kB / 0.5702 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/0.3768, allocations: 11.98 kB / 0.5702 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.3768, allocations: 4 kB / 0.5702 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006952/0.3775, allocations: 240.5 kB / 0.5704 GB, free: 9.887 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.002312/0.3799, allocations: 1.122 MB / 0.5715 GB, free: 8.684 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.3802, allocations: 82.61 kB / 0.5716 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.459e-05/0.3803, allocations: 32.84 kB / 0.5716 GB, free: 8.559 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001568/0.3819, allocations: 468.4 kB / 0.5721 GB, free: 8.082 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000445/0.3823, allocations: 169.8 kB / 0.5722 GB, free: 7.879 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 2.835e-06/0.3823, allocations: 0 / 0.5722 GB, free: 7.879 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001655/0.384, allocations: 365.6 kB / 0.5726 GB, free: 7.516 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000237/0.3842, allocations: 269 kB / 0.5728 GB, free: 7.191 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.3845, allocations: 155.4 kB / 0.573 GB, free: 7.031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.3845, allocations: 29.7 kB / 0.573 GB, free: 6.996 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.3847, allocations: 148.3 kB / 0.5731 GB, free: 6.848 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.3848, allocations: 79.34 kB / 0.5732 GB, free: 6.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.385, allocations: 65.8 kB / 0.5733 GB, free: 6.699 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002327/0.3852, allocations: 326.8 kB / 0.5736 GB, free: 6.371 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.3853, allocations: 35.98 kB / 0.5736 GB, free: 6.336 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.3858, allocations: 191.5 kB / 0.5738 GB, free: 6.082 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006103/0.3864, allocations: 254.6 kB / 0.5741 GB, free: 5.766 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.3864, allocations: 4 kB / 0.5741 GB, free: 5.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000948/0.3873, allocations: 261.3 kB / 0.5743 GB, free: 5.504 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.3874, allocations: 8 kB / 0.5743 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.3874, allocations: 4 kB / 0.5743 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.175e-05/0.3874, allocations: 8 kB / 0.5743 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009684/0.3884, allocations: 99.81 kB / 0.5744 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006572/0.389, allocations: 0.5979 MB / 0.575 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.3893, allocations: 15.95 kB / 0.575 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-05/0.3894, allocations: 20 kB / 0.575 GB, free: 4.73 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.0002281/0.3896, allocations: 139.3 kB / 0.5752 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.3897, allocations: 19.91 kB / 0.5752 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000859/0.3906, allocations: 231.9 kB / 0.5754 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.3906, allocations: 4 kB / 0.5754 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/0.3906, allocations: 3.938 kB / 0.5754 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.3906, allocations: 3.984 kB / 0.5754 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007623/0.3914, allocations: 338.8 kB / 0.5757 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3914, allocations: 0 / 0.5757 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.392, allocations: 59.89 kB / 0.5758 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.3921, allocations: 3.938 kB / 0.5758 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.3921, allocations: 8.094 kB / 0.5758 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005917/0.3927, allocations: 0.5783 MB / 0.5764 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.3927, allocations: 3.938 kB / 0.5764 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.3932, allocations: 158.6 kB / 0.5765 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.941e-05/0.3933, allocations: 15.94 kB / 0.5766 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.3933, allocations: 7.953 kB / 0.5766 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.3936, allocations: 11.98 kB / 0.5766 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.3936, allocations: 7.984 kB / 0.5766 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.3936, allocations: 4 kB / 0.5766 GB, free: 3.016 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002016/0.3938, allocations: 135.8 kB / 0.5767 GB, free: 2.883 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3938, allocations: 0 / 0.5767 GB, free: 2.883 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009458/0.3948, allocations: 143.6 kB / 0.5768 GB, free: 2.742 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.001535/0.3963, allocations: 0.8167 MB / 0.5776 GB, free: 1.891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008731/0.3972, allocations: 152.2 kB / 0.5778 GB, free: 1.742 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3972, allocations: 3.938 kB / 0.5778 GB, free: 1.738 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003572/0.3976, allocations: 51.91 kB / 0.5778 GB, free: 1.688 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000672/0.3982, allocations: 55.45 kB / 0.5779 GB, free: 1.637 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00632/0.4045, allocations: 2.54 MB / 0.5804 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006745/0.4052, allocations: 0.7206 MB / 0.5811 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004811/0.4057, allocations: 77.7 kB / 0.5812 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.4059, allocations: 63.34 kB / 0.5812 GB, free: 13.99 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4059, allocations: 0 / 0.5812 GB, free: 13.99 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05118/0.4571, allocations: 6.702 MB / 0.5878 GB, free: 7.438 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.31, allocations: 10.22 kB / 0.5878 GB, free: 7.43 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.313160579884425]