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.0008528/0.0008528, 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.0008077/0.0008077, allocations: 170.3 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.8707/0.8707, allocations: 158.6 MB / 185 MB, free: 3.043 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.1302/0.1302, 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.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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 406.9 MB, free: 2.203 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.373e-05, allocations: 9.875 kB / 406.9 MB, free: 2.195 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004301/0.004325, allocations: 4.252 MB / 411.1 MB, free: 13.91 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002844/0.007168, allocations: 3.593 MB / 414.7 MB, free: 10.31 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.007271, allocations: 4 kB / 414.7 MB, free: 10.3 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.007534, allocations: 51.67 kB / 414.8 MB, free: 10.25 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001619/0.009153, allocations: 0.761 MB / 415.5 MB, free: 9.488 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.009419, allocations: 139.6 kB / 415.7 MB, free: 9.352 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004676/0.009887, allocations: 385.9 kB / 416.1 MB, free: 8.973 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.009933, allocations: 13.81 kB / 416.1 MB, free: 8.961 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005094/0.01044, allocations: 183.5 kB / 416.3 MB, free: 8.781 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.01064, allocations: 139.6 kB / 416.4 MB, free: 8.645 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.01066, allocations: 8 kB / 416.4 MB, free: 8.637 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007043/0.01136, allocations: 383.3 kB / 416.8 MB, free: 8.262 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.92e-05/0.01144, allocations: 43.77 kB / 416.8 MB, free: 8.219 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.069e-05/0.01153, allocations: 91.75 kB / 416.9 MB, free: 8.129 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006036/0.01214, allocations: 486.6 kB / 417.4 MB, free: 7.652 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.01214, allocations: 0 / 417.4 MB, free: 7.652 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01214, allocations: 0 / 417.4 MB, free: 7.652 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.01215, allocations: 0 / 417.4 MB, free: 7.652 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.0008256/0.01297, allocations: 0.5246 MB / 417.9 MB, free: 7.098 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.01301, allocations: 16.03 kB / 417.9 MB, free: 7.082 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.01306, allocations: 58.73 kB / 418 MB, free: 7.016 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.01317, allocations: 32.78 kB / 418 MB, free: 6.984 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.01346, allocations: 161.5 kB / 418.2 MB, free: 6.801 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.01359, allocations: 234.7 kB / 418.4 MB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.01361, allocations: 24.38 kB / 418.4 MB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.01402, allocations: 485.7 kB / 418.9 MB, free: 5.961 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.01403, allocations: 3.938 kB / 418.9 MB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.01405, allocations: 12 kB / 418.9 MB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.01407, allocations: 12 kB / 418.9 MB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005043/0.01458, allocations: 0.7198 MB / 419.6 MB, free: 5.211 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.000959/0.01554, allocations: 1.077 MB / 420.7 MB, free: 4.066 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.01578, allocations: 151.8 kB / 420.9 MB, free: 3.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.362e-05/0.01587, allocations: 77.47 kB / 420.9 MB, free: 3.832 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008852/0.01675, allocations: 0.7271 MB / 421.7 MB, free: 3.086 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.01678, allocations: 42.44 kB / 421.7 MB, free: 3.035 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.01678, allocations: 4 kB / 421.7 MB, free: 3.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002121/0.01699, allocations: 109.6 kB / 421.8 MB, free: 2.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.01702, allocations: 55.41 kB / 421.9 MB, free: 2.852 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.01716, allocations: 239.8 kB / 422.1 MB, free: 2.609 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.01718, allocations: 25.7 kB / 422.1 MB, free: 2.578 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.797e-05/0.01727, allocations: 227.4 kB / 422.4 MB, free: 2.348 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.0173, allocations: 39.69 kB / 422.4 MB, free: 2.309 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-05/0.01737, allocations: 82.09 kB / 422.5 MB, free: 2.223 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.042e-05/0.01746, allocations: 334.8 kB / 422.8 MB, free: 1.887 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.292e-05/0.01751, allocations: 44.97 kB / 422.8 MB, free: 1.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/0.01796, allocations: 352.1 kB / 423.2 MB, free: 1.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.01827, allocations: 440.6 kB / 423.6 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.351e-06/0.01828, allocations: 7.938 kB / 423.6 MB, free: 0.7656 MB / 394.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003787/0.01866, allocations: 385.8 kB / 424 MB, free: 392 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.01868, allocations: 12 kB / 424 MB, free: 380 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.01869, allocations: 12.09 kB / 424 MB, free: 368 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.01871, allocations: 16 kB / 424 MB, free: 352 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.01885, allocations: 95.83 kB / 424.1 MB, free: 256 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.01887, allocations: 27.81 kB / 424.2 MB, free: 228 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.019, allocations: 51.62 kB / 424.2 MB, free: 176 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.01903, allocations: 31.98 kB / 424.2 MB, free: 144 kB / 394.7 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.0001022/0.01913, allocations: 149.7 kB / 424.4 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.01916, allocations: 23.94 kB / 424.4 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.01937, allocations: 145 kB / 424.6 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.01937, allocations: 0 / 424.6 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.01938, allocations: 3.984 kB / 424.6 MB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01938, allocations: 3.938 kB / 424.6 MB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.01969, allocations: 376 kB / 424.9 MB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.0197, allocations: 8.031 kB / 424.9 MB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.185e-05/0.01973, allocations: 19.98 kB / 425 MB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.01973, allocations: 7.938 kB / 425 MB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.01974, allocations: 96 / 425 MB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.01974, allocations: 7.938 kB / 425 MB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01974, allocations: 0 / 425 MB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.01987, allocations: 198 kB / 425.2 MB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.0199, allocations: 27.78 kB / 425.2 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.01992, allocations: 3.938 kB / 425.2 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.089e-05/0.02, allocations: 8 kB / 425.2 MB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.02003, allocations: 11.98 kB / 425.2 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.02003, allocations: 4 kB / 425.2 MB, free: 15.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.299e-05/0.02012, allocations: 157.2 kB / 425.4 MB, free: 14.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02012, allocations: 0 / 425.4 MB, free: 14.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003845/0.0205, allocations: 91.92 kB / 425.5 MB, free: 14.8 MB / 410.7 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.0004923/0.02099, allocations: 0.8042 MB / 426.3 MB, free: 13.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.02122, allocations: 157.6 kB / 426.4 MB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.02122, allocations: 4.875 kB / 426.4 MB, free: 13.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.094e-05/0.02125, allocations: 19.94 kB / 426.4 MB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.02152, allocations: 56.75 kB / 426.5 MB, free: 13.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.02349, allocations: 2.74 MB / 429.2 MB, free: 10.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.286e-05/0.02357, allocations: 116.7 kB / 429.4 MB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.02369, allocations: 50.83 kB / 429.4 MB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/0.02375, allocations: 60.48 kB / 429.5 MB, free: 10.37 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02375, allocations: 0 / 429.5 MB, free: 10.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.04309, allocations: 6.019 MB / 435.5 MB, free: 4.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.52/6.563, allocations: 15.17 kB / 435.5 MB, free: 4.328 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/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: 8.55092987511307]