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.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.001893/0.001893, allocations: 120.3 kB / 17.84 MB, free: 5.203 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.002113/0.002113, allocations: 211.9 kB / 20.8 MB, free: 2.258 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.461/1.461, allocations: 207.6 MB / 231.2 MB, free: 4.098 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.3375/0.3375, allocations: 44.23 MB / 327.3 MB, free: 6.688 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.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.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00355/0.00355, allocations: 64.38 kB / 462.9 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2815, allocations: 61.01 MB / 0.5117 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.00577/0.2872, allocations: 4.568 MB / 0.5161 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00368/0.2909, allocations: 4.026 MB / 0.5201 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.073e-05/0.291, allocations: 1.312 kB / 0.5201 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.2913, allocations: 58.66 kB / 0.5201 GB, free: 6.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.293, allocations: 0.7207 MB / 0.5208 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.2933, allocations: 144.4 kB / 0.521 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004601/0.2938, allocations: 374.1 kB / 0.5213 GB, free: 5.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.108e-05/0.2938, allocations: 5.688 kB / 0.5213 GB, free: 5.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.2939, allocations: 147.5 kB / 0.5215 GB, free: 5.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.2941, allocations: 151.5 kB / 0.5216 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.2941, allocations: 8 kB / 0.5216 GB, free: 4.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006939/0.2948, allocations: 443.4 kB / 0.522 GB, free: 4.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.092e-05/0.2949, allocations: 43.83 kB / 0.5221 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.148e-05/0.2949, allocations: 107.5 kB / 0.5222 GB, free: 4.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005363/0.2955, allocations: 473.2 kB / 0.5226 GB, free: 3.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2955, allocations: 4 kB / 0.5226 GB, free: 3.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2955, allocations: 0 / 0.5226 GB, free: 3.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.2955, allocations: 0 / 0.5226 GB, free: 3.805 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.000975/0.2965, allocations: 0.6 MB / 0.5232 GB, free: 3.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.2965, allocations: 19.89 kB / 0.5232 GB, free: 3.137 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.96e-05/0.2965, allocations: 12.73 kB / 0.5233 GB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.408e-05/0.2966, allocations: 54.73 kB / 0.5233 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.2967, allocations: 28.8 kB / 0.5233 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.297, allocations: 220.1 kB / 0.5235 GB, free: 2.777 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.469e-05/0.2971, allocations: 127.9 kB / 0.5237 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.2971, allocations: 27.94 kB / 0.5237 GB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.2975, allocations: 323.7 kB / 0.524 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.2975, allocations: 3.938 kB / 0.524 GB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.2976, allocations: 12 kB / 0.524 GB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.2976, allocations: 7.984 kB / 0.524 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005575/0.2981, allocations: 0.7313 MB / 0.5247 GB, free: 1.5 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.0009419/0.2991, allocations: 1.308 MB / 0.526 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.2994, allocations: 159.7 kB / 0.5262 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.2996, allocations: 77.42 kB / 0.5262 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002865/0.3024, allocations: 2.814 MB / 0.529 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.3025, allocations: 34.56 kB / 0.529 GB, free: 12.44 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.3025, allocations: 0 / 0.529 GB, free: 12.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003353/0.3028, allocations: 129.4 kB / 0.5291 GB, free: 12.31 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.3028, allocations: 51.41 kB / 0.5292 GB, free: 12.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.3031, allocations: 227.9 kB / 0.5294 GB, free: 12.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.3031, allocations: 29.7 kB / 0.5294 GB, free: 11.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.3033, allocations: 219.4 kB / 0.5297 GB, free: 11.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.3033, allocations: 51.61 kB / 0.5297 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.3034, allocations: 90.03 kB / 0.5298 GB, free: 11.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3036, allocations: 326.8 kB / 0.5301 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.637e-05/0.3036, allocations: 44.84 kB / 0.5301 GB, free: 11.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.304, allocations: 343.2 kB / 0.5305 GB, free: 10.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/0.3044, allocations: 448.5 kB / 0.5309 GB, free: 10.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3045, allocations: 3.938 kB / 0.5309 GB, free: 10.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005763/0.305, allocations: 381.8 kB / 0.5313 GB, free: 9.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.3051, allocations: 8 kB / 0.5313 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.3051, allocations: 20.06 kB / 0.5313 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/0.3051, allocations: 12 kB / 0.5313 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.3053, allocations: 99.83 kB / 0.5314 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.085e-05/0.3054, allocations: 19.92 kB / 0.5314 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.3056, allocations: 55.62 kB / 0.5315 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.3056, allocations: 31.94 kB / 0.5315 GB, free: 9.555 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.0001466/0.3058, allocations: 153.5 kB / 0.5316 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.3058, allocations: 15.91 kB / 0.5317 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/0.3061, allocations: 152.5 kB / 0.5318 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.3061, allocations: 4 kB / 0.5318 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3061, allocations: 0 / 0.5318 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3061, allocations: 0 / 0.5318 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000527/0.3067, allocations: 408.9 kB / 0.5322 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3067, allocations: 7.984 kB / 0.5322 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.3067, allocations: 15.94 kB / 0.5322 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3067, allocations: 0 / 0.5322 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3067, allocations: 4 kB / 0.5322 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3067, allocations: 4 kB / 0.5322 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3067, allocations: 0 / 0.5322 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.307, allocations: 206 kB / 0.5324 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.614e-05/0.3071, allocations: 104.9 kB / 0.5325 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.3071, allocations: 4.062 kB / 0.5325 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.3072, allocations: 8 kB / 0.5325 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.3073, allocations: 11.98 kB / 0.5326 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3073, allocations: 4 kB / 0.5326 GB, free: 8.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.3074, allocations: 156.5 kB / 0.5327 GB, free: 8.184 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3074, allocations: 0 / 0.5327 GB, free: 8.184 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004832/0.3079, allocations: 91.88 kB / 0.5328 GB, free: 8.094 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.0007333/0.3086, allocations: 0.8046 MB / 0.5336 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002983/0.3089, allocations: 164.8 kB / 0.5337 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3089, allocations: 0 / 0.5337 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.971e-05/0.309, allocations: 25.55 kB / 0.5338 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.3094, allocations: 52.5 kB / 0.5338 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.3128, allocations: 2.806 MB / 0.5365 GB, free: 3.832 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.3131, allocations: 0.7322 MB / 0.5373 GB, free: 3.074 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001697/0.3133, allocations: 50.92 kB / 0.5373 GB, free: 3.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.62e-05/0.3134, allocations: 51.86 kB / 0.5374 GB, free: 2.973 MB / 398.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3134, allocations: 4 kB / 0.5374 GB, free: 2.969 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.3346, allocations: 5.293 MB / 0.5425 GB, free: 13.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.563/8.898, allocations: 14.06 kB / 0.5425 GB, free: 13.67 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 12.007850255991798]