Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 119.3 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 191.7 kB / 20.07 MB, free: 2.992 MB / 14.72 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 1.483/1.483, allocations: 207.6 MB / 230.5 MB, free: 4.047 MB / 174.1 MB " [Timeout remaining time 178] 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.3401/0.3401, allocations: 44.23 MB / 326.5 MB, free: 6.82 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 67.89 kB / 462.2 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3036, allocations: 61 MB / 0.5109 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.00476/0.3084, allocations: 4.562 MB / 0.5154 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0032/0.3116, allocations: 4.029 MB / 0.5193 GB, free: 6.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.3117, allocations: 1.375 kB / 0.5193 GB, free: 6.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.312, allocations: 56.02 kB / 0.5194 GB, free: 6.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.3136, allocations: 0.7239 MB / 0.5201 GB, free: 5.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.3139, allocations: 134.3 kB / 0.5202 GB, free: 5.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000398/0.3143, allocations: 374.2 kB / 0.5206 GB, free: 5.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.3144, allocations: 5.688 kB / 0.5206 GB, free: 5.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.3145, allocations: 139.5 kB / 0.5207 GB, free: 4.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.3147, allocations: 147.5 kB / 0.5209 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.3147, allocations: 8 kB / 0.5209 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007874/0.3155, allocations: 443.4 kB / 0.5213 GB, free: 4.367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.336e-05/0.3155, allocations: 51.77 kB / 0.5213 GB, free: 4.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.3156, allocations: 107.5 kB / 0.5214 GB, free: 4.211 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006556/0.3163, allocations: 477.2 kB / 0.5219 GB, free: 3.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3163, allocations: 0 / 0.5219 GB, free: 3.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3163, allocations: 4 kB / 0.5219 GB, free: 3.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.3163, allocations: 0 / 0.5219 GB, free: 3.746 MB / 382.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.0009826/0.3173, allocations: 0.6 MB / 0.5225 GB, free: 3.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3173, allocations: 11.89 kB / 0.5225 GB, free: 3.086 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.78e-05/0.3174, allocations: 66.72 kB / 0.5226 GB, free: 3.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.3175, allocations: 32.8 kB / 0.5226 GB, free: 2.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.3178, allocations: 220.1 kB / 0.5228 GB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.139e-05/0.3179, allocations: 123.9 kB / 0.5229 GB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.3179, allocations: 24.12 kB / 0.5229 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.3183, allocations: 331.6 kB / 0.5233 GB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3183, allocations: 3.938 kB / 0.5233 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.3183, allocations: 12 kB / 0.5233 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.3183, allocations: 4 kB / 0.5233 GB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005551/0.3189, allocations: 0.7352 MB / 0.524 GB, free: 1.445 MB / 382.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.001009/0.3199, allocations: 1.308 MB / 0.5253 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.3203, allocations: 159.8 kB / 0.5254 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.3204, allocations: 81.42 kB / 0.5255 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002871/0.3233, allocations: 2.81 MB / 0.5282 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.3233, allocations: 34.56 kB / 0.5283 GB, free: 12.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/0.3233, allocations: 4 kB / 0.5283 GB, free: 12.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003305/0.3237, allocations: 121.4 kB / 0.5284 GB, free: 12.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.3237, allocations: 55.39 kB / 0.5285 GB, free: 12.19 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.3239, allocations: 223.9 kB / 0.5287 GB, free: 11.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.324, allocations: 25.7 kB / 0.5287 GB, free: 11.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.3241, allocations: 231.4 kB / 0.5289 GB, free: 11.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.3242, allocations: 39.62 kB / 0.5289 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.3243, allocations: 90.03 kB / 0.529 GB, free: 11.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3244, allocations: 330.8 kB / 0.5294 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.699e-05/0.3245, allocations: 44.84 kB / 0.5294 GB, free: 11.19 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003443/0.3249, allocations: 347.2 kB / 0.5297 GB, free: 10.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005217/0.3254, allocations: 444.5 kB / 0.5301 GB, free: 10.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3254, allocations: 0 / 0.5301 GB, free: 10.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005955/0.326, allocations: 385.1 kB / 0.5305 GB, free: 9.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.326, allocations: 8 kB / 0.5305 GB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.326, allocations: 12 kB / 0.5305 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/0.3261, allocations: 16.75 kB / 0.5306 GB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.3263, allocations: 99.83 kB / 0.5306 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.53e-05/0.3263, allocations: 27.91 kB / 0.5307 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.3266, allocations: 51.62 kB / 0.5307 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.3266, allocations: 28 kB / 0.5307 GB, free: 9.508 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0001417/0.3267, allocations: 153.5 kB / 0.5309 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.04e-05/0.3268, allocations: 19.91 kB / 0.5309 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.3271, allocations: 156.8 kB / 0.5311 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.3271, allocations: 0 / 0.5311 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3271, allocations: 4 kB / 0.5311 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3271, allocations: 0 / 0.5311 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000545/0.3277, allocations: 412.9 kB / 0.5315 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3277, allocations: 4 kB / 0.5315 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.196e-05/0.3277, allocations: 15.92 kB / 0.5315 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3278, allocations: 4 kB / 0.5315 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.3278, allocations: 0 / 0.5315 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3278, allocations: 4 kB / 0.5315 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3278, allocations: 0 / 0.5315 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.328, allocations: 206 kB / 0.5317 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.3281, allocations: 104.9 kB / 0.5318 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.3281, allocations: 7.984 kB / 0.5318 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.3283, allocations: 192 / 0.5318 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.3283, allocations: 4 kB / 0.5318 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3283, allocations: 15.92 kB / 0.5318 GB, free: 8.285 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.3285, allocations: 156.5 kB / 0.532 GB, free: 8.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3285, allocations: 0 / 0.532 GB, free: 8.129 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005189/0.329, allocations: 95.88 kB / 0.5321 GB, free: 8.035 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0008152/0.3298, allocations: 0.8083 MB / 0.5328 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003333/0.3301, allocations: 161.8 kB / 0.533 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3301, allocations: 4 kB / 0.533 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.886e-05/0.3302, allocations: 19.92 kB / 0.533 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.3307, allocations: 41.28 kB / 0.5331 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003626/0.3343, allocations: 2.814 MB / 0.5358 GB, free: 3.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.3348, allocations: 0.7283 MB / 0.5365 GB, free: 3.027 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002043/0.335, allocations: 54.92 kB / 0.5366 GB, free: 2.973 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.3351, allocations: 59.42 kB / 0.5366 GB, free: 2.914 MB / 398.1 MB Notification: Performance of SimCode: time 1.814e-06/0.3351, allocations: 0 / 0.5366 GB, free: 2.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.3644, allocations: 5.251 MB / 0.5418 GB, free: 13.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.261/8.625, allocations: 6.109 kB / 0.5418 GB, free: 13.66 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.596133583690971]