Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.000873/0.000873, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008526/0.0008526, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8073/0.8073, allocations: 158.6 MB / 185 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1214/0.1214, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 406.9 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.485e-05, allocations: 10.02 kB / 406.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.003933/0.003948, allocations: 4.64 MB / 411.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.006429, allocations: 4.083 MB / 415.6 MB, free: 9.438 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.805e-05/0.006487, allocations: 0 / 415.6 MB, free: 9.438 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.006704, allocations: 51.61 kB / 415.6 MB, free: 9.387 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.008385, allocations: 0.6909 MB / 416.3 MB, free: 8.691 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.008663, allocations: 167.7 kB / 416.5 MB, free: 8.527 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004795/0.009142, allocations: 377.8 kB / 416.9 MB, free: 8.156 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.188e-05/0.009194, allocations: 21.8 kB / 416.9 MB, free: 8.137 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.009429, allocations: 195.4 kB / 417.1 MB, free: 7.945 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.009568, allocations: 115.7 kB / 417.2 MB, free: 7.832 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.009589, allocations: 8 kB / 417.2 MB, free: 7.824 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000533/0.01012, allocations: 303.5 kB / 417.5 MB, free: 7.527 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.01019, allocations: 47.75 kB / 417.5 MB, free: 7.48 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.01026, allocations: 83.77 kB / 417.6 MB, free: 7.398 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004852/0.01074, allocations: 446.6 kB / 418.1 MB, free: 6.961 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.01075, allocations: 0 / 418.1 MB, free: 6.961 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01075, allocations: 0 / 418.1 MB, free: 6.961 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.01075, allocations: 3.938 kB / 418.1 MB, free: 6.957 MB / 394.7 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.0007226/0.01147, allocations: 0.513 MB / 418.6 MB, free: 6.414 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.01151, allocations: 8.031 kB / 418.6 MB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.01156, allocations: 62.72 kB / 418.7 MB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.01168, allocations: 28.8 kB / 418.7 MB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.01193, allocations: 169.5 kB / 418.8 MB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.01205, allocations: 226.7 kB / 419.1 MB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.01207, allocations: 20.38 kB / 419.1 MB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.01246, allocations: 0.4995 MB / 419.6 MB, free: 5.258 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.01247, allocations: 3.938 kB / 419.6 MB, free: 5.254 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.01249, allocations: 15.98 kB / 419.6 MB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.01251, allocations: 8 kB / 419.6 MB, free: 5.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005035/0.01301, allocations: 0.7198 MB / 420.3 MB, free: 4.508 MB / 394.7 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.000866/0.01388, allocations: 1.077 MB / 421.4 MB, free: 3.367 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.01411, allocations: 138.6 kB / 421.5 MB, free: 3.223 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.313e-05/0.01418, allocations: 72.58 kB / 421.6 MB, free: 3.148 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007929/0.01498, allocations: 0.6517 MB / 422.3 MB, free: 2.477 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.01499, allocations: 30.56 kB / 422.3 MB, free: 2.438 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.01499, allocations: 0 / 422.3 MB, free: 2.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004466/0.01544, allocations: 221.1 kB / 422.5 MB, free: 2.215 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.01547, allocations: 55.41 kB / 422.6 MB, free: 2.148 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.0156, allocations: 231.9 kB / 422.8 MB, free: 1.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.01562, allocations: 29.7 kB / 422.8 MB, free: 1.875 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.425e-05/0.0157, allocations: 215.6 kB / 423 MB, free: 1.656 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.01573, allocations: 55.53 kB / 423.1 MB, free: 1.602 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.097e-05/0.0158, allocations: 82.14 kB / 423.2 MB, free: 1.516 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.406e-05/0.01587, allocations: 330.8 kB / 423.5 MB, free: 1.184 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.476e-05/0.01593, allocations: 44.97 kB / 423.5 MB, free: 1.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.0161, allocations: 326.6 kB / 423.9 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.01638, allocations: 429.2 kB / 424.3 MB, free: 132 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.01638, allocations: 4 kB / 424.3 MB, free: 128 kB / 394.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003671/0.01675, allocations: 373.1 kB / 424.6 MB, free: 15.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.01676, allocations: 15.94 kB / 424.7 MB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.01677, allocations: 8 kB / 424.7 MB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.01679, allocations: 12 kB / 424.7 MB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.01698, allocations: 112.5 kB / 424.8 MB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.017, allocations: 19.94 kB / 424.8 MB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.01712, allocations: 19.94 kB / 424.8 MB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.01714, allocations: 31.98 kB / 424.9 MB, free: 15.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 8.675e-05/0.01723, allocations: 149.6 kB / 425 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.01725, allocations: 15.91 kB / 425 MB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.01745, allocations: 158.8 kB / 425.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.01746, allocations: 7.938 kB / 425.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01746, allocations: 0 / 425.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01747, allocations: 3.938 kB / 425.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.01781, allocations: 407.3 kB / 425.6 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01781, allocations: 0 / 425.6 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.112e-05/0.01789, allocations: 27.98 kB / 425.6 MB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.0179, allocations: 4.031 kB / 425.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.0179, allocations: 3.938 kB / 425.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01791, allocations: 4 kB / 425.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01791, allocations: 0 / 425.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.01805, allocations: 228.3 kB / 425.8 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.01809, allocations: 19.89 kB / 425.9 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.01811, allocations: 11.94 kB / 425.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.112e-05/0.0182, allocations: 8.062 kB / 425.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.01822, allocations: 11.97 kB / 425.9 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.01823, allocations: 8 kB / 425.9 MB, free: 14.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.742e-05/0.01831, allocations: 157.2 kB / 426.1 MB, free: 14.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01831, allocations: 0 / 426.1 MB, free: 14.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003176/0.01862, allocations: 99.86 kB / 426.2 MB, free: 14.15 MB / 410.7 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.0004697/0.01909, allocations: 0.8222 MB / 427 MB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.01931, allocations: 173.3 kB / 427.1 MB, free: 13.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01931, allocations: 0 / 427.1 MB, free: 13.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.399e-05/0.01934, allocations: 39.92 kB / 427.2 MB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.01963, allocations: 49.31 kB / 427.2 MB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.0215, allocations: 2.661 MB / 429.9 MB, free: 10.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.287e-05/0.02158, allocations: 124.3 kB / 430 MB, free: 9.898 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.02173, allocations: 58.78 kB / 430.1 MB, free: 9.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.912e-05/0.0218, allocations: 64.42 kB / 430.1 MB, free: 9.777 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.0218, allocations: 0 / 430.1 MB, free: 9.777 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0159/0.0377, allocations: 6.4 MB / 436.5 MB, free: 3.367 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.628/6.666, allocations: 3.859 kB / 436.5 MB, free: 3.363 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.537837696261704]