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.001283/0.001283, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001426/0.001426, allocations: 212 kB / 23.74 MB, free: 4.656 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.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2223/0.2223, allocations: 44.91 MB / 358.8 MB, free: 6.305 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.002137/0.002137, allocations: 67.89 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.331, allocations: 65.47 MB / 0.5571 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.00702/0.3381, allocations: 5.075 MB / 0.562 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005134/0.3432, allocations: 4.594 MB / 0.5665 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.3433, allocations: 0 / 0.5665 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.3436, allocations: 59.59 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.3453, allocations: 0.6721 MB / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.3457, allocations: 167.4 kB / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00059/0.3463, allocations: 374.1 kB / 0.5677 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.571e-05/0.3464, allocations: 17.78 kB / 0.5677 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.3467, allocations: 147.5 kB / 0.5679 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.3469, allocations: 139.4 kB / 0.568 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.3469, allocations: 8 kB / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008453/0.3478, allocations: 367.5 kB / 0.5684 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.973e-05/0.3479, allocations: 39.88 kB / 0.5684 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.348, allocations: 107.5 kB / 0.5685 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007785/0.3488, allocations: 448.4 kB / 0.5689 GB, free: 11.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3488, allocations: 0 / 0.5689 GB, free: 11.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3488, allocations: 0 / 0.5689 GB, free: 11.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3488, allocations: 0 / 0.5689 GB, free: 11.54 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.001038/0.3498, allocations: 0.5207 MB / 0.5695 GB, free: 10.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3499, allocations: 12.03 kB / 0.5695 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.1e-05/0.3499, allocations: 70.66 kB / 0.5695 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.3501, allocations: 24.84 kB / 0.5696 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.3504, allocations: 166.2 kB / 0.5697 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.3506, allocations: 226.7 kB / 0.5699 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.3506, allocations: 28.12 kB / 0.57 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005263/0.3511, allocations: 330.8 kB / 0.5703 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3512, allocations: 4 kB / 0.5703 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.3512, allocations: 15.94 kB / 0.5703 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.3512, allocations: 8 kB / 0.5703 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008598/0.3521, allocations: 0.7586 MB / 0.571 GB, free: 9.254 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.001427/0.3535, allocations: 1.229 MB / 0.5722 GB, free: 7.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.3538, allocations: 142.8 kB / 0.5724 GB, free: 7.781 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.354, allocations: 69.44 kB / 0.5724 GB, free: 7.711 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/0.3554, allocations: 0.6634 MB / 0.5731 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.3554, allocations: 30.56 kB / 0.5731 GB, free: 6.988 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.3554, allocations: 4 kB / 0.5731 GB, free: 6.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007748/0.3562, allocations: 228.8 kB / 0.5733 GB, free: 6.758 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.3562, allocations: 51.41 kB / 0.5734 GB, free: 6.695 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.3564, allocations: 215.9 kB / 0.5736 GB, free: 6.477 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.3565, allocations: 33.7 kB / 0.5736 GB, free: 6.438 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.3566, allocations: 215.5 kB / 0.5738 GB, free: 6.223 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.3567, allocations: 63.45 kB / 0.5739 GB, free: 6.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.3568, allocations: 86.03 kB / 0.574 GB, free: 6.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3569, allocations: 330.8 kB / 0.5743 GB, free: 5.738 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.636e-05/0.357, allocations: 44.84 kB / 0.5743 GB, free: 5.691 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003004/0.3573, allocations: 316.1 kB / 0.5746 GB, free: 5.254 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.3578, allocations: 415.5 kB / 0.575 GB, free: 4.719 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.3578, allocations: 8 kB / 0.575 GB, free: 4.711 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005734/0.3583, allocations: 360.9 kB / 0.5754 GB, free: 4.352 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3584, allocations: 11.78 kB / 0.5754 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.3584, allocations: 12 kB / 0.5754 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/0.3584, allocations: 19.94 kB / 0.5754 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.3588, allocations: 107.8 kB / 0.5755 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/0.3588, allocations: 15.94 kB / 0.5755 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.359, allocations: 32.05 kB / 0.5756 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.3591, allocations: 24 kB / 0.5756 GB, free: 4.137 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.0001475/0.3592, allocations: 149.6 kB / 0.5757 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/0.3593, allocations: 15.91 kB / 0.5758 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.3596, allocations: 154.9 kB / 0.5759 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.3596, allocations: 7.938 kB / 0.5759 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3596, allocations: 0 / 0.5759 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3596, allocations: 3.984 kB / 0.5759 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005889/0.3602, allocations: 402.3 kB / 0.5763 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.3602, allocations: 3.938 kB / 0.5763 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.3604, allocations: 35.97 kB / 0.5763 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3604, allocations: 4 kB / 0.5763 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3604, allocations: 0 / 0.5763 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3604, allocations: 0 / 0.5763 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3604, allocations: 4 kB / 0.5763 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.3607, allocations: 227.6 kB / 0.5766 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/0.3607, allocations: 23.83 kB / 0.5766 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.3608, allocations: 11.92 kB / 0.5766 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.361, allocations: 4 kB / 0.5766 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.361, allocations: 11.98 kB / 0.5766 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.361, allocations: 11.98 kB / 0.5766 GB, free: 3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.3611, allocations: 144.5 kB / 0.5768 GB, free: 2.859 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3611, allocations: 4 kB / 0.5768 GB, free: 2.855 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005025/0.3616, allocations: 103.9 kB / 0.5769 GB, free: 2.754 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.0007447/0.3624, allocations: 0.8105 MB / 0.5777 GB, free: 1.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003933/0.3628, allocations: 181.9 kB / 0.5778 GB, free: 1.738 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3628, allocations: 3.938 kB / 0.5778 GB, free: 1.734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.718e-05/0.3628, allocations: 31.92 kB / 0.5779 GB, free: 1.703 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.3633, allocations: 48.47 kB / 0.5779 GB, free: 1.656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.3667, allocations: 2.72 MB / 0.5806 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.3671, allocations: 0.7285 MB / 0.5813 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002468/0.3673, allocations: 54.84 kB / 0.5813 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.3674, allocations: 67.41 kB / 0.5814 GB, free: 13.72 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3674, allocations: 0 / 0.5814 GB, free: 13.72 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/0.3995, allocations: 5.981 MB / 0.5872 GB, free: 7.887 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.72, allocations: 8 kB / 0.5872 GB, free: 7.879 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.671854570973665]