Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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: 111.1 kB / 20.44 MB, free: 1.184 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.00172/0.00172, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.422/1.422, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2256/0.2256, allocations: 46.96 MB / 360.9 MB, free: 4.113 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003036/0.003036, allocations: 67.91 kB / 0.4961 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3391, allocations: 66.04 MB / 0.5606 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.007814/0.347, allocations: 4.968 MB / 0.5655 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003274/0.3502, allocations: 2.367 MB / 0.5678 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.085e-05/0.3503, allocations: 3.938 kB / 0.5678 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.3506, allocations: 35.77 kB / 0.5678 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003014/0.3536, allocations: 1.109 MB / 0.5689 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.354, allocations: 159.3 kB / 0.5691 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004659/0.3544, allocations: 310.4 kB / 0.5694 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.3545, allocations: 9.688 kB / 0.5694 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.3556, allocations: 0.6644 MB / 0.57 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/0.3559, allocations: 159.5 kB / 0.5702 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.3559, allocations: 8 kB / 0.5702 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.358, allocations: 1.213 MB / 0.5714 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.358, allocations: 31.89 kB / 0.5714 GB, free: 9.129 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.3582, allocations: 71.66 kB / 0.5715 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008471/0.3591, allocations: 0.5259 MB / 0.572 GB, free: 8.531 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3591, allocations: 0 / 0.572 GB, free: 8.531 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3591, allocations: 0 / 0.572 GB, free: 8.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3591, allocations: 0 / 0.572 GB, free: 8.531 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.0009752/0.36, allocations: 0.4967 MB / 0.5725 GB, free: 8.004 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3601, allocations: 8.031 kB / 0.5725 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.059e-05/0.3601, allocations: 58.73 kB / 0.5725 GB, free: 7.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004337/0.3606, allocations: 44.81 kB / 0.5726 GB, free: 7.887 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.3609, allocations: 158.2 kB / 0.5727 GB, free: 7.707 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.3609, allocations: 20.11 kB / 0.5727 GB, free: 7.688 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.3609, allocations: 16 kB / 0.5727 GB, free: 7.672 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/0.3614, allocations: 317.8 kB / 0.5731 GB, free: 7.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3614, allocations: 0 / 0.5731 GB, free: 7.309 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.375e-05/0.3615, allocations: 12 kB / 0.5731 GB, free: 7.297 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3615, allocations: 4 kB / 0.5731 GB, free: 7.293 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003965/0.3619, allocations: 236.5 kB / 0.5733 GB, free: 7.062 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.001307/0.3632, allocations: 1.053 MB / 0.5743 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.3634, allocations: 82.55 kB / 0.5744 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.34e-05/0.3635, allocations: 36.84 kB / 0.5744 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008854/0.3643, allocations: 452.5 kB / 0.5749 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002802/0.3646, allocations: 203.3 kB / 0.5751 GB, free: 5.109 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.3646, allocations: 0 / 0.5751 GB, free: 5.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009641/0.3656, allocations: 360.2 kB / 0.5754 GB, free: 4.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/0.3658, allocations: 269 kB / 0.5757 GB, free: 4.426 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.3659, allocations: 161.8 kB / 0.5758 GB, free: 4.262 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.3659, allocations: 29.7 kB / 0.5758 GB, free: 4.227 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.3661, allocations: 148.2 kB / 0.576 GB, free: 4.078 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.978e-05/0.3661, allocations: 71.42 kB / 0.5761 GB, free: 4.008 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.214e-05/0.3662, allocations: 61.69 kB / 0.5761 GB, free: 3.941 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3664, allocations: 326.8 kB / 0.5764 GB, free: 3.613 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.651e-05/0.3664, allocations: 35.98 kB / 0.5765 GB, free: 3.578 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.3666, allocations: 196.1 kB / 0.5766 GB, free: 3.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.367, allocations: 258.1 kB / 0.5769 GB, free: 3.004 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.367, allocations: 0 / 0.5769 GB, free: 3.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004491/0.3674, allocations: 261.5 kB / 0.5771 GB, free: 2.742 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3674, allocations: 8 kB / 0.5771 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3675, allocations: 4 kB / 0.5772 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.3675, allocations: 8 kB / 0.5772 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/0.3679, allocations: 103.8 kB / 0.5773 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004562/0.3684, allocations: 0.6015 MB / 0.5778 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.3685, allocations: 20.2 kB / 0.5779 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.3686, allocations: 20 kB / 0.5779 GB, free: 1.957 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.0001579/0.3687, allocations: 145.6 kB / 0.578 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.3688, allocations: 15.95 kB / 0.578 GB, free: 1.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004938/0.3693, allocations: 223.9 kB / 0.5783 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.3693, allocations: 4 kB / 0.5783 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.3693, allocations: 3.938 kB / 0.5783 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.3693, allocations: 3.984 kB / 0.5783 GB, free: 1.531 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.3698, allocations: 330.8 kB / 0.5786 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3698, allocations: 8.094 kB / 0.5786 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/0.3701, allocations: 47.95 kB / 0.5786 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.3701, allocations: 3.938 kB / 0.5786 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.3701, allocations: 8 kB / 0.5786 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003925/0.3705, allocations: 0.586 MB / 0.5792 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3705, allocations: 0 / 0.5792 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.3708, allocations: 150.6 kB / 0.5794 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.3708, allocations: 15.88 kB / 0.5794 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.3709, allocations: 16.03 kB / 0.5794 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.371, allocations: 12 kB / 0.5794 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.371, allocations: 11.98 kB / 0.5794 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.371, allocations: 7.984 kB / 0.5794 GB, free: 252 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.3712, allocations: 127.8 kB / 0.5795 GB, free: 124 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3712, allocations: 96 / 0.5795 GB, free: 124 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005597/0.3717, allocations: 147.6 kB / 0.5797 GB, free: 15.97 MB / 430.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.0009942/0.3727, allocations: 0.8246 MB / 0.5805 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005454/0.3733, allocations: 160.1 kB / 0.5806 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3733, allocations: 0 / 0.5806 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.3735, allocations: 47.91 kB / 0.5807 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.3739, allocations: 48.95 kB / 0.5807 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.3777, allocations: 2.536 MB / 0.5832 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.3778, allocations: 102.4 kB / 0.5833 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002472/0.3781, allocations: 77.83 kB / 0.5834 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.3782, allocations: 63.34 kB / 0.5834 GB, free: 11.85 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3782, allocations: 0 / 0.5834 GB, free: 11.85 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03642/0.4146, allocations: 7.242 MB / 0.5905 GB, free: 4.777 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.03, allocations: 18.92 kB / 0.5905 GB, free: 4.766 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.087808832060546]