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.001779/0.001779, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002073/0.002073, allocations: 211 kB / 23.73 MB, free: 4.523 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.396/1.396, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.219/0.219, allocations: 46.97 MB / 360.9 MB, free: 4.164 MB / 286.1 MB " [Timeout remaining time 180] 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.001929/0.001929, allocations: 67.89 kB / 0.4961 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3245, allocations: 66.04 MB / 0.5606 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.007881/0.3324, allocations: 4.978 MB / 0.5655 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003156/0.3356, allocations: 2.371 MB / 0.5678 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.276e-05/0.3357, allocations: 0 / 0.5678 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.3359, allocations: 39.7 kB / 0.5678 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002928/0.3389, allocations: 1.109 MB / 0.5689 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.3392, allocations: 146.9 kB / 0.5691 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004938/0.3397, allocations: 318.4 kB / 0.5694 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.989e-05/0.3397, allocations: 5.75 kB / 0.5694 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.341, allocations: 0.676 MB / 0.57 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.3413, allocations: 155.5 kB / 0.5702 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.3413, allocations: 8 kB / 0.5702 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.3435, allocations: 1.236 MB / 0.5714 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.137e-05/0.3436, allocations: 27.91 kB / 0.5714 GB, free: 9.172 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.3437, allocations: 71.66 kB / 0.5715 GB, free: 9.102 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000905/0.3446, allocations: 0.5259 MB / 0.572 GB, free: 8.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3446, allocations: 0 / 0.572 GB, free: 8.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3446, allocations: 0 / 0.572 GB, free: 8.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.3446, allocations: 0 / 0.572 GB, free: 8.574 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.001032/0.3457, allocations: 0.5045 MB / 0.5725 GB, free: 8.039 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3457, allocations: 8.031 kB / 0.5725 GB, free: 8.031 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.106e-05/0.3458, allocations: 54.73 kB / 0.5725 GB, free: 7.969 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005065/0.3463, allocations: 44.81 kB / 0.5726 GB, free: 7.926 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.3466, allocations: 154.3 kB / 0.5727 GB, free: 7.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.3466, allocations: 24.11 kB / 0.5728 GB, free: 7.727 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.3467, allocations: 15.94 kB / 0.5728 GB, free: 7.711 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/0.3472, allocations: 313.9 kB / 0.5731 GB, free: 7.352 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3472, allocations: 7.938 kB / 0.5731 GB, free: 7.344 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.3472, allocations: 12 kB / 0.5731 GB, free: 7.332 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3472, allocations: 4 kB / 0.5731 GB, free: 7.328 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/0.3476, allocations: 228.5 kB / 0.5733 GB, free: 7.105 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.001328/0.3489, allocations: 1.053 MB / 0.5743 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.3491, allocations: 78.61 kB / 0.5744 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.936e-05/0.3492, allocations: 36.84 kB / 0.5745 GB, free: 5.859 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009262/0.3501, allocations: 464.3 kB / 0.5749 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002944/0.3504, allocations: 199.1 kB / 0.5751 GB, free: 5.148 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.3504, allocations: 0 / 0.5751 GB, free: 5.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009611/0.3514, allocations: 369.8 kB / 0.5754 GB, free: 4.781 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/0.3515, allocations: 265 kB / 0.5757 GB, free: 4.461 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.3517, allocations: 157.6 kB / 0.5758 GB, free: 4.297 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.3517, allocations: 29.7 kB / 0.5759 GB, free: 4.262 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.3518, allocations: 152.2 kB / 0.576 GB, free: 4.109 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.957e-05/0.3519, allocations: 67.42 kB / 0.5761 GB, free: 4.043 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.69e-05/0.352, allocations: 61.78 kB / 0.5761 GB, free: 3.977 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3521, allocations: 330.8 kB / 0.5765 GB, free: 3.645 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.74e-05/0.3522, allocations: 35.98 kB / 0.5765 GB, free: 3.609 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.3524, allocations: 191.5 kB / 0.5767 GB, free: 3.355 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.3527, allocations: 254.6 kB / 0.5769 GB, free: 3.039 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3527, allocations: 0 / 0.5769 GB, free: 3.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004379/0.3532, allocations: 261.1 kB / 0.5772 GB, free: 2.777 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3532, allocations: 11.94 kB / 0.5772 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3532, allocations: 4 kB / 0.5772 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.3532, allocations: 8.656 kB / 0.5772 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/0.3537, allocations: 99.88 kB / 0.5773 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004089/0.3541, allocations: 0.6015 MB / 0.5779 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.3542, allocations: 15.89 kB / 0.5779 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.3543, allocations: 16 kB / 0.5779 GB, free: 2 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.0001363/0.3544, allocations: 141.7 kB / 0.578 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.3545, allocations: 15.95 kB / 0.578 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000468/0.3549, allocations: 235.9 kB / 0.5783 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3549, allocations: 12 kB / 0.5783 GB, free: 1.566 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3549, allocations: 3.938 kB / 0.5783 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.355, allocations: 3.984 kB / 0.5783 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004161/0.3554, allocations: 326.8 kB / 0.5786 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3554, allocations: 0 / 0.5786 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.3557, allocations: 55.95 kB / 0.5787 GB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.3557, allocations: 3.938 kB / 0.5787 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.3557, allocations: 8 kB / 0.5787 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003461/0.3561, allocations: 0.586 MB / 0.5792 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.3561, allocations: 8 kB / 0.5792 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.3563, allocations: 146.7 kB / 0.5794 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.784e-05/0.3563, allocations: 15.94 kB / 0.5794 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.3564, allocations: 11.98 kB / 0.5794 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.3565, allocations: 4 kB / 0.5794 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.3565, allocations: 11.98 kB / 0.5794 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.3566, allocations: 7.984 kB / 0.5794 GB, free: 292 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.3567, allocations: 131.7 kB / 0.5796 GB, free: 160 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3567, allocations: 0 / 0.5796 GB, free: 160 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005183/0.3572, allocations: 143.6 kB / 0.5797 GB, free: 16 kB / 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.0008813/0.3581, allocations: 0.8206 MB / 0.5805 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004615/0.3585, allocations: 151.7 kB / 0.5806 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.3585, allocations: 5.297 kB / 0.5807 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.3587, allocations: 47.84 kB / 0.5807 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.3591, allocations: 48.09 kB / 0.5807 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.3623, allocations: 2.55 MB / 0.5832 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.365e-05/0.3624, allocations: 110.3 kB / 0.5833 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002394/0.3627, allocations: 73.69 kB / 0.5834 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.3628, allocations: 55.41 kB / 0.5835 GB, free: 11.89 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3628, allocations: 4 kB / 0.5835 GB, free: 11.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03527/0.3981, allocations: 7.301 MB / 0.5906 GB, free: 4.758 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.61, allocations: 3.938 kB / 0.5906 GB, free: 4.754 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: 15.55401647699182]