Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.001322/0.001322, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.001447/0.001447, allocations: 212.6 kB / 23.74 MB, free: 4.672 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.393/1.393, allocations: 230.5 MB / 257.4 MB, free: 7.984 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.224/0.224, allocations: 46.93 MB / 360.8 MB, free: 4.164 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.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003355/0.003355, allocations: 83.88 kB / 0.4962 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3668, allocations: 66.08 MB / 0.5608 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006572/0.3733, allocations: 4.652 MB / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004789/0.3781, allocations: 4.033 MB / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.3782, allocations: 0 / 0.5692 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.3785, allocations: 55.64 kB / 0.5693 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.3802, allocations: 0.75 MB / 0.57 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.3805, allocations: 130.6 kB / 0.5702 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005453/0.3811, allocations: 378.1 kB / 0.5705 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.3811, allocations: 9.812 kB / 0.5705 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.3813, allocations: 151.5 kB / 0.5707 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.3816, allocations: 151.4 kB / 0.5708 GB, free: 9.922 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.3816, allocations: 8 kB / 0.5708 GB, free: 9.914 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000893/0.3825, allocations: 439.4 kB / 0.5712 GB, free: 9.484 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.764e-05/0.3826, allocations: 43.83 kB / 0.5713 GB, free: 9.441 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.3827, allocations: 111.5 kB / 0.5714 GB, free: 9.332 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007428/0.3835, allocations: 488.3 kB / 0.5719 GB, free: 8.855 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3835, allocations: 0 / 0.5719 GB, free: 8.855 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3835, allocations: 0 / 0.5719 GB, free: 8.855 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.3835, allocations: 0 / 0.5719 GB, free: 8.855 MB / 414.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.001132/0.3846, allocations: 0.5246 MB / 0.5724 GB, free: 8.301 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3846, allocations: 12.03 kB / 0.5724 GB, free: 8.289 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.109e-05/0.3847, allocations: 62.72 kB / 0.5724 GB, free: 8.219 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.3849, allocations: 24.84 kB / 0.5725 GB, free: 8.195 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.3852, allocations: 162.2 kB / 0.5726 GB, free: 8.012 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/0.3854, allocations: 230.7 kB / 0.5728 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.3854, allocations: 24.12 kB / 0.5729 GB, free: 7.711 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005185/0.3859, allocations: 342.8 kB / 0.5732 GB, free: 7.352 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3859, allocations: 0 / 0.5732 GB, free: 7.352 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.386, allocations: 12 kB / 0.5732 GB, free: 7.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.386, allocations: 8 kB / 0.5732 GB, free: 7.332 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000903/0.3869, allocations: 0.7547 MB / 0.5739 GB, free: 6.574 MB / 414.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.001454/0.3883, allocations: 1.284 MB / 0.5752 GB, free: 5.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.3887, allocations: 155.7 kB / 0.5753 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.3888, allocations: 77.48 kB / 0.5754 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001535/0.3903, allocations: 0.731 MB / 0.5761 GB, free: 4.191 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.3904, allocations: 38.55 kB / 0.5762 GB, free: 4.145 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.3904, allocations: 0 / 0.5762 GB, free: 4.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003116/0.3907, allocations: 137.2 kB / 0.5763 GB, free: 4.004 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.3907, allocations: 51.41 kB / 0.5764 GB, free: 3.941 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.3909, allocations: 226 kB / 0.5766 GB, free: 3.715 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.391, allocations: 25.7 kB / 0.5766 GB, free: 3.684 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.3911, allocations: 219.5 kB / 0.5768 GB, free: 3.465 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.3912, allocations: 55.56 kB / 0.5769 GB, free: 3.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.3913, allocations: 86.08 kB / 0.5769 GB, free: 3.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3914, allocations: 322.8 kB / 0.5772 GB, free: 2.996 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.843e-05/0.3915, allocations: 52.83 kB / 0.5773 GB, free: 2.941 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/0.3918, allocations: 335.3 kB / 0.5776 GB, free: 2.473 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/0.3923, allocations: 452.5 kB / 0.578 GB, free: 1.883 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3923, allocations: 0 / 0.578 GB, free: 1.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005817/0.3929, allocations: 385.8 kB / 0.5784 GB, free: 1.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3929, allocations: 10.34 kB / 0.5784 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.3929, allocations: 12.09 kB / 0.5784 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.393, allocations: 19.94 kB / 0.5785 GB, free: 1.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.3932, allocations: 103.8 kB / 0.5786 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.3932, allocations: 19.92 kB / 0.5786 GB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.3935, allocations: 55.62 kB / 0.5786 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.3935, allocations: 24 kB / 0.5786 GB, free: 1.262 MB / 414.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.0001343/0.3936, allocations: 161.5 kB / 0.5788 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.745e-05/0.3937, allocations: 15.91 kB / 0.5788 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.394, allocations: 144.5 kB / 0.579 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.394, allocations: 0 / 0.579 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.394, allocations: 4 kB / 0.579 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.394, allocations: 0 / 0.579 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.3945, allocations: 380.1 kB / 0.5793 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3945, allocations: 3.938 kB / 0.5793 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.382e-05/0.3945, allocations: 19.92 kB / 0.5793 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3945, allocations: 0 / 0.5793 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.3945, allocations: 4 kB / 0.5793 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3946, allocations: 4 kB / 0.5794 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3946, allocations: 0 / 0.5794 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.3948, allocations: 209.9 kB / 0.5796 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.3948, allocations: 19.84 kB / 0.5796 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.3948, allocations: 15.88 kB / 0.5796 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.395, allocations: 8 kB / 0.5796 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.395, allocations: 7.984 kB / 0.5796 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.395, allocations: 4 kB / 0.5796 GB, free: 176 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.3952, allocations: 156.5 kB / 0.5798 GB, free: 16 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3952, allocations: 0 / 0.5798 GB, free: 16 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004847/0.3956, allocations: 91.92 kB / 0.5798 GB, free: 15.92 MB / 430.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.0006729/0.3963, allocations: 0.8005 MB / 0.5806 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002868/0.3966, allocations: 165.1 kB / 0.5808 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3966, allocations: 3.938 kB / 0.5808 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.356e-05/0.3967, allocations: 29.48 kB / 0.5808 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.3971, allocations: 50.88 kB / 0.5809 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.4002, allocations: 2.791 MB / 0.5836 GB, free: 11.67 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.4006, allocations: 0.7323 MB / 0.5843 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.4008, allocations: 50.92 kB / 0.5844 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.687e-05/0.4009, allocations: 59.42 kB / 0.5844 GB, free: 10.8 MB / 430.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4009, allocations: 0 / 0.5844 GB, free: 10.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.4325, allocations: 5.562 MB / 0.5898 GB, free: 5.359 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.65, allocations: 19.55 kB / 0.5899 GB, free: 5.344 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.622200921876356]