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.0008378/0.0008378, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001235/0.001235, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8813/0.8813, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2473/0.2473, allocations: 34.24 MB / 294.8 MB, free: 0.6836 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 3.938 kB / 442.2 MB, free: 1.523 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.635e-05, allocations: 2.281 kB / 442.2 MB, free: 1.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.1929/0.1929, allocations: 24.12 MB / 466.3 MB, free: 29.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1943, allocations: 2.674 MB / 469 MB, free: 27.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.93e-05/0.1944, allocations: 0 / 469 MB, free: 27.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.1947, allocations: 58.03 kB / 469 MB, free: 27.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009783/0.1956, allocations: 0.7625 MB / 469.8 MB, free: 27.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.1958, allocations: 137 kB / 469.9 MB, free: 27.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.1962, allocations: 383.5 kB / 470.3 MB, free: 27.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.1962, allocations: 16.27 kB / 470.3 MB, free: 27.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01651/0.2127, allocations: 15.47 MB / 485.8 MB, free: 20.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.213, allocations: 128.9 kB / 485.9 MB, free: 20.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.213, allocations: 6.125 kB / 485.9 MB, free: 20.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003705/0.2167, allocations: 3.395 MB / 489.3 MB, free: 18.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.073e-05/0.2168, allocations: 45.05 kB / 489.4 MB, free: 18.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.431e-05/0.2169, allocations: 80.97 kB / 489.5 MB, free: 18.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005667/0.2174, allocations: 492.9 kB / 489.9 MB, free: 18.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2174, allocations: 8.828 kB / 489.9 MB, free: 18.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2174, allocations: 4 kB / 490 MB, free: 18.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.2174, allocations: 0 / 490 MB, free: 18.21 MB / 410.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.0007503/0.2182, allocations: 0.5178 MB / 490.5 MB, free: 17.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2182, allocations: 10.06 kB / 490.5 MB, free: 17.83 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.458e-05/0.2183, allocations: 61.52 kB / 490.5 MB, free: 17.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.656e-05/0.2184, allocations: 33.8 kB / 490.6 MB, free: 17.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.2186, allocations: 161.1 kB / 490.7 MB, free: 17.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.833e-05/0.2187, allocations: 227.5 kB / 491 MB, free: 17.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.2187, allocations: 22.84 kB / 491 MB, free: 17.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.2191, allocations: 497 kB / 491.5 MB, free: 16.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2191, allocations: 0.5625 kB / 491.5 MB, free: 16.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.2191, allocations: 12.44 kB / 491.5 MB, free: 16.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.885e-05/0.2191, allocations: 7.109 kB / 491.5 MB, free: 16.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006211/0.2197, allocations: 0.7164 MB / 492.2 MB, free: 16.84 MB / 410.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.0007799/0.2205, allocations: 1.081 MB / 493.3 MB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.2208, allocations: 156.7 kB / 493.4 MB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.382e-05/0.2209, allocations: 77.62 kB / 493.5 MB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008297/0.2217, allocations: 0.7223 MB / 494.2 MB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.2217, allocations: 32.38 kB / 494.3 MB, free: 15.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 9.02e-07/0.2217, allocations: 1.125 kB / 494.3 MB, free: 15.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002113/0.2219, allocations: 121.8 kB / 494.4 MB, free: 15.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.2219, allocations: 61.56 kB / 494.4 MB, free: 15.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.2221, allocations: 236.6 kB / 494.7 MB, free: 15.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.2221, allocations: 26.73 kB / 494.7 MB, free: 15.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/0.2222, allocations: 225 kB / 494.9 MB, free: 14.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.2222, allocations: 44.47 kB / 495 MB, free: 14.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.87e-05/0.2222, allocations: 88.98 kB / 495 MB, free: 14.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.592e-05/0.2223, allocations: 328.6 kB / 495.4 MB, free: 14.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.504e-05/0.2223, allocations: 45.19 kB / 495.4 MB, free: 14.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.2225, allocations: 351.6 kB / 495.8 MB, free: 14.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.2227, allocations: 437.4 kB / 496.2 MB, free: 13.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.2227, allocations: 4.125 kB / 496.2 MB, free: 13.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000361/0.223, allocations: 384 kB / 496.6 MB, free: 13.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2231, allocations: 11.81 kB / 496.6 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.2231, allocations: 15.44 kB / 496.6 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.2231, allocations: 13.94 kB / 496.6 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.2232, allocations: 100.2 kB / 496.7 MB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.2233, allocations: 24.2 kB / 496.7 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.2234, allocations: 50.62 kB / 496.8 MB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.2234, allocations: 30.14 kB / 496.8 MB, free: 13.33 MB / 410.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 6.361e-05/0.2235, allocations: 149.7 kB / 496.9 MB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.2235, allocations: 22.77 kB / 497 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.2237, allocations: 148.8 kB / 497.1 MB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.2237, allocations: 3.688 kB / 497.1 MB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2237, allocations: 4.969 kB / 497.1 MB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2237, allocations: 1.031 kB / 497.1 MB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.2239, allocations: 376.3 kB / 497.5 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.224, allocations: 0.75 kB / 497.5 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.047e-05/0.224, allocations: 17.36 kB / 497.5 MB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.224, allocations: 5.594 kB / 497.5 MB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-06/0.224, allocations: 7.141 kB / 497.5 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.224, allocations: 0 / 497.5 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.224, allocations: 5.469 kB / 497.5 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.424e-05/0.2241, allocations: 206.3 kB / 497.7 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.2241, allocations: 22.22 kB / 497.8 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.2241, allocations: 2.969 kB / 497.8 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.2242, allocations: 12 kB / 497.8 MB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.2242, allocations: 7.812 kB / 497.8 MB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.2242, allocations: 3.578 kB / 497.8 MB, free: 12.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.265e-05/0.2243, allocations: 161 kB / 497.9 MB, free: 12.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2243, allocations: 1.062 kB / 497.9 MB, free: 12.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003222/0.2246, allocations: 95.28 kB / 498 MB, free: 12.41 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.0003559/0.225, allocations: 0.7948 MB / 498.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.2252, allocations: 164.5 kB / 499 MB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2252, allocations: 3.938 kB / 499 MB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.527e-05/0.2252, allocations: 30.11 kB / 499 MB, free: 11.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.2255, allocations: 46.77 kB / 499.1 MB, free: 11.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.2272, allocations: 2.743 MB / 0.49 GB, free: 9.215 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.581e-05/0.2273, allocations: 112.7 kB / 0.4902 GB, free: 9.145 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.2274, allocations: 55.42 kB / 0.4902 GB, free: 9.125 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.2274, allocations: 61.77 kB / 0.4903 GB, free: 9.086 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2274, allocations: 5.656 kB / 0.4903 GB, free: 9.082 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.2449, allocations: 6.028 MB / 0.4962 GB, free: 7.688 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.759/7.004, allocations: 4.156 kB / 0.4962 GB, free: 7.688 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins/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: 9.016881589777768]