Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00129/0.00129, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 216.9 kB / 24.53 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 230.5 MB / 258.2 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2192/0.2192, allocations: 46.92 MB / 361.6 MB, free: 4.203 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 79.88 kB / 0.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2969, allocations: 66.08 MB / 0.5615 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03356/0.3304, allocations: 27.15 MB / 0.588 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00351/0.334, allocations: 2.979 MB / 0.591 GB, free: 6.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.343e-05/0.334, allocations: 0 / 0.591 GB, free: 6.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.3343, allocations: 59.59 kB / 0.591 GB, free: 6.031 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.3361, allocations: 0.7383 MB / 0.5917 GB, free: 5.289 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.3365, allocations: 138.2 kB / 0.5919 GB, free: 5.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005425/0.337, allocations: 382.1 kB / 0.5922 GB, free: 4.785 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.671e-05/0.3371, allocations: 9.812 kB / 0.5922 GB, free: 4.777 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03515/0.3722, allocations: 15.4 MB / 0.6073 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.3726, allocations: 155.4 kB / 0.6074 GB, free: 5.113 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.3726, allocations: 8 kB / 0.6074 GB, free: 5.105 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007433/0.38, allocations: 3.43 MB / 0.6108 GB, free: 1.645 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.607e-05/0.3801, allocations: 43.81 kB / 0.6108 GB, free: 1.602 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.3803, allocations: 107.5 kB / 0.6109 GB, free: 1.496 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008064/0.3811, allocations: 466.5 kB / 0.6114 GB, free: 1.039 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3811, allocations: 0 / 0.6114 GB, free: 1.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3811, allocations: 0 / 0.6114 GB, free: 1.039 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3811, allocations: 4 kB / 0.6114 GB, free: 1.035 MB / 446.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.001077/0.3822, allocations: 0.5324 MB / 0.6119 GB, free: 484 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3822, allocations: 8.031 kB / 0.6119 GB, free: 476 kB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.94e-05/0.3822, allocations: 12.69 kB / 0.6119 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.332e-05/0.3823, allocations: 58.73 kB / 0.612 GB, free: 396 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.3824, allocations: 32.8 kB / 0.612 GB, free: 364 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.3827, allocations: 170.2 kB / 0.6122 GB, free: 168 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/0.3829, allocations: 234.4 kB / 0.6124 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.3829, allocations: 27.94 kB / 0.6124 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000512/0.3834, allocations: 338.8 kB / 0.6127 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3834, allocations: 0 / 0.6127 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.3834, allocations: 11.98 kB / 0.6127 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.3835, allocations: 12 kB / 0.6128 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008422/0.3843, allocations: 0.7508 MB / 0.6135 GB, free: 14.73 MB / 462.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.001408/0.3857, allocations: 1.288 MB / 0.6148 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.3861, allocations: 151.8 kB / 0.6149 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.3862, allocations: 77.41 kB / 0.615 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/0.3877, allocations: 0.731 MB / 0.6157 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.3877, allocations: 42.55 kB / 0.6157 GB, free: 12.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.3877, allocations: 0 / 0.6157 GB, free: 12.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002801/0.388, allocations: 113.5 kB / 0.6158 GB, free: 12.17 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.388, allocations: 55.41 kB / 0.6159 GB, free: 12.1 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.3882, allocations: 224.9 kB / 0.6161 GB, free: 11.88 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.3882, allocations: 25.7 kB / 0.6161 GB, free: 11.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.3884, allocations: 227.4 kB / 0.6163 GB, free: 11.62 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.3884, allocations: 43.67 kB / 0.6164 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.916e-05/0.3885, allocations: 90.03 kB / 0.6165 GB, free: 11.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3887, allocations: 330.8 kB / 0.6168 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.827e-05/0.3888, allocations: 44.84 kB / 0.6168 GB, free: 11.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.3891, allocations: 339.2 kB / 0.6171 GB, free: 10.63 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004656/0.3896, allocations: 448.6 kB / 0.6176 GB, free: 10.04 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3896, allocations: 0 / 0.6176 GB, free: 10.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005726/0.3901, allocations: 385 kB / 0.6179 GB, free: 9.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.3902, allocations: 14.28 kB / 0.618 GB, free: 9.648 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.3902, allocations: 12.88 kB / 0.618 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.3902, allocations: 12 kB / 0.618 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.3904, allocations: 107.8 kB / 0.6181 GB, free: 9.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.979e-05/0.3905, allocations: 15.94 kB / 0.6181 GB, free: 9.504 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.3907, allocations: 59.56 kB / 0.6182 GB, free: 9.445 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.3908, allocations: 36.02 kB / 0.6182 GB, free: 9.41 MB / 462.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.0001413/0.3909, allocations: 147 kB / 0.6183 GB, free: 9.258 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.391, allocations: 27.78 kB / 0.6184 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.3912, allocations: 148.9 kB / 0.6185 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.3912, allocations: 0 / 0.6185 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3912, allocations: 4.094 kB / 0.6185 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3912, allocations: 3.938 kB / 0.6185 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.3917, allocations: 384 kB / 0.6189 GB, free: 8.633 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3917, allocations: 4 kB / 0.6189 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/0.3918, allocations: 8 kB / 0.6189 GB, free: 8.621 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3918, allocations: 7.984 kB / 0.6189 GB, free: 8.613 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.3918, allocations: 0 / 0.6189 GB, free: 8.613 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3918, allocations: 4 kB / 0.6189 GB, free: 8.609 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3918, allocations: 0 / 0.6189 GB, free: 8.609 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.392, allocations: 209.9 kB / 0.6191 GB, free: 8.379 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.392, allocations: 23.83 kB / 0.6191 GB, free: 8.355 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.3921, allocations: 15.88 kB / 0.6191 GB, free: 8.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.3922, allocations: 4 kB / 0.6191 GB, free: 8.336 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.025e-05/0.3922, allocations: 3.984 kB / 0.6191 GB, free: 8.332 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.3923, allocations: 8 kB / 0.6192 GB, free: 8.324 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.3924, allocations: 156.5 kB / 0.6193 GB, free: 8.172 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3924, allocations: 0 / 0.6193 GB, free: 8.172 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004913/0.3929, allocations: 107.8 kB / 0.6194 GB, free: 8.066 MB / 462.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.0007079/0.3936, allocations: 0.7812 MB / 0.6202 GB, free: 7.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002977/0.3939, allocations: 166.1 kB / 0.6203 GB, free: 7.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3939, allocations: 0 / 0.6203 GB, free: 7.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.889e-05/0.3939, allocations: 23.94 kB / 0.6203 GB, free: 7.066 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.3943, allocations: 48.52 kB / 0.6204 GB, free: 7.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.3975, allocations: 2.82 MB / 0.6231 GB, free: 3.805 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.3979, allocations: 0.7206 MB / 0.6239 GB, free: 3.059 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001877/0.3981, allocations: 54.91 kB / 0.6239 GB, free: 3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.193e-05/0.3982, allocations: 59.42 kB / 0.624 GB, free: 2.941 MB / 462.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3982, allocations: 0 / 0.624 GB, free: 2.941 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.4242, allocations: 5.608 MB / 0.6294 GB, free: 13.46 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.11, allocations: 15.91 kB / 0.6295 GB, free: 13.44 MB / 478.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.190407598973252]