Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.001439/0.001439, 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.00146/0.00146, allocations: 209.6 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.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2179/0.2179, allocations: 44.94 MB / 358.8 MB, free: 6.141 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.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",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.002125/0.002125, allocations: 63.89 kB / 0.4931 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3315, allocations: 65.48 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007895/0.3394, allocations: 4.688 MB / 0.5616 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00524/0.3446, allocations: 4.088 MB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.3448, allocations: 0 / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.3451, allocations: 51.67 kB / 0.5656 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.3468, allocations: 0.6759 MB / 0.5663 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.3472, allocations: 163.5 kB / 0.5664 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005234/0.3477, allocations: 370.1 kB / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.43e-05/0.3478, allocations: 17.78 kB / 0.5668 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.348, allocations: 155.5 kB / 0.567 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.3482, allocations: 127.4 kB / 0.5671 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.3483, allocations: 8 kB / 0.5671 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000674/0.3489, allocations: 323.7 kB / 0.5674 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.174e-05/0.349, allocations: 43.81 kB / 0.5674 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.3491, allocations: 95.53 kB / 0.5675 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006716/0.3498, allocations: 436.5 kB / 0.5679 GB, free: 12.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3498, allocations: 0 / 0.5679 GB, free: 12.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3498, allocations: 0 / 0.5679 GB, free: 12.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.3498, allocations: 0 / 0.5679 GB, free: 12.28 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009828/0.3508, allocations: 0.5207 MB / 0.5685 GB, free: 11.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3508, allocations: 8.031 kB / 0.5685 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.807e-05/0.3509, allocations: 66.66 kB / 0.5685 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.3511, allocations: 28.84 kB / 0.5686 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.3514, allocations: 174.2 kB / 0.5687 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/0.3516, allocations: 226.7 kB / 0.5689 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.3516, allocations: 24.11 kB / 0.569 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006385/0.3523, allocations: 0.5027 MB / 0.5695 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3523, allocations: 0 / 0.5695 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.3523, allocations: 12 kB / 0.5695 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.3523, allocations: 8 kB / 0.5695 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008784/0.3532, allocations: 0.7156 MB / 0.5702 GB, free: 9.816 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.001377/0.3546, allocations: 1.088 MB / 0.5712 GB, free: 8.664 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/0.3549, allocations: 146.6 kB / 0.5714 GB, free: 8.516 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.355, allocations: 69.45 kB / 0.5714 GB, free: 8.445 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/0.3564, allocations: 0.6439 MB / 0.5721 GB, free: 7.781 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.3564, allocations: 34.56 kB / 0.5721 GB, free: 7.738 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.3564, allocations: 0 / 0.5721 GB, free: 7.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006624/0.3571, allocations: 221 kB / 0.5723 GB, free: 7.516 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.3571, allocations: 55.41 kB / 0.5724 GB, free: 7.449 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.3573, allocations: 227.7 kB / 0.5726 GB, free: 7.219 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.3573, allocations: 29.7 kB / 0.5726 GB, free: 7.184 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.3575, allocations: 219.5 kB / 0.5728 GB, free: 6.965 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/0.3576, allocations: 63.45 kB / 0.5729 GB, free: 6.902 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.95e-05/0.3577, allocations: 86.08 kB / 0.573 GB, free: 6.812 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3578, allocations: 322.8 kB / 0.5733 GB, free: 6.488 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.975e-05/0.3579, allocations: 56.78 kB / 0.5733 GB, free: 6.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.3582, allocations: 312.1 kB / 0.5736 GB, free: 5.996 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/0.3587, allocations: 415.5 kB / 0.574 GB, free: 5.461 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3587, allocations: 4 kB / 0.574 GB, free: 5.457 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005803/0.3593, allocations: 373.5 kB / 0.5744 GB, free: 5.086 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3593, allocations: 18.75 kB / 0.5744 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.3593, allocations: 12 kB / 0.5744 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.3594, allocations: 15.94 kB / 0.5744 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.3597, allocations: 103.8 kB / 0.5745 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.3597, allocations: 19.92 kB / 0.5745 GB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.36, allocations: 16.41 kB / 0.5746 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.36, allocations: 32 kB / 0.5746 GB, free: 4.875 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.3601, allocations: 149.6 kB / 0.5747 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.328e-05/0.3602, allocations: 19.91 kB / 0.5747 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.3605, allocations: 158.8 kB / 0.5749 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.3605, allocations: 3.938 kB / 0.5749 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3605, allocations: 0 / 0.5749 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3605, allocations: 0 / 0.5749 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005757/0.3611, allocations: 394.4 kB / 0.5753 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3611, allocations: 3.938 kB / 0.5753 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.3613, allocations: 35.91 kB / 0.5753 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3613, allocations: 0 / 0.5753 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3613, allocations: 11.98 kB / 0.5753 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3613, allocations: 4.031 kB / 0.5753 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3613, allocations: 0 / 0.5753 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.3615, allocations: 219.9 kB / 0.5755 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/0.3616, allocations: 31.78 kB / 0.5756 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.3616, allocations: 7.969 kB / 0.5756 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.3618, allocations: 8 kB / 0.5756 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.3619, allocations: 7.984 kB / 0.5756 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.3619, allocations: 15.98 kB / 0.5756 GB, free: 3.738 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.362, allocations: 144.5 kB / 0.5757 GB, free: 3.598 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.362, allocations: 0 / 0.5757 GB, free: 3.598 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004736/0.3625, allocations: 107.9 kB / 0.5758 GB, free: 3.492 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008303/0.3633, allocations: 0.8144 MB / 0.5766 GB, free: 2.648 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003099/0.3636, allocations: 165.8 kB / 0.5768 GB, free: 2.488 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.3636, allocations: 4.297 kB / 0.5768 GB, free: 2.484 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.876e-05/0.3637, allocations: 43.86 kB / 0.5768 GB, free: 2.441 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.3641, allocations: 48.64 kB / 0.5769 GB, free: 2.395 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/0.3673, allocations: 2.724 MB / 0.5796 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.3674, allocations: 116.6 kB / 0.5797 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002112/0.3676, allocations: 58.83 kB / 0.5797 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.3677, allocations: 67.41 kB / 0.5798 GB, free: 15.08 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3677, allocations: 0 / 0.5798 GB, free: 15.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.3996, allocations: 6.296 MB / 0.5859 GB, free: 8.949 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.76, allocations: 10.62 kB / 0.5859 GB, free: 8.941 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.723103687632829]