Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001181/0.001181, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008268/0.0008268, allocations: 156.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.8924/0.8924, allocations: 177 MB / 204.1 MB, free: 5.758 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.2452/0.2452, allocations: 34.24 MB / 294.8 MB, free: 0.7031 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.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.948e-05, allocations: 2.281 kB / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.1697/0.1697, allocations: 1.584 MB / 443.8 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007959/0.1705, allocations: 0.5316 MB / 444.3 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.1705, allocations: 0 / 444.3 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.1707, allocations: 24.52 kB / 444.3 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.171, allocations: 88.72 kB / 444.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.1713, allocations: 106.4 kB / 444.5 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.1714, allocations: 69.38 kB / 444.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1715, allocations: 11.36 kB / 444.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.39e-05/0.1716, allocations: 36.52 kB / 444.6 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.865e-05/0.1716, allocations: 15.17 kB / 444.6 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.1716, allocations: 2.688 kB / 444.6 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.404e-05/0.1717, allocations: 32.66 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.545e-05/0.1717, allocations: 21.34 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.1717, allocations: 6.844 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.1719, allocations: 89.05 kB / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1719, allocations: 1.219 kB / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1719, allocations: 2.719 kB / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1719, allocations: 0 / 444.8 MB, free: 43.19 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003591/0.1723, allocations: 317.5 kB / 445.1 MB, free: 42.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1723, allocations: 10.31 kB / 445.1 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.307e-05/0.1723, allocations: 34.62 kB / 445.1 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.544e-05/0.1723, allocations: 8.891 kB / 445.1 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.1725, allocations: 135.4 kB / 445.3 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.1725, allocations: 384 / 445.3 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.1725, allocations: 3.406 kB / 445.3 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.1726, allocations: 48.25 kB / 445.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1726, allocations: 9.75 kB / 445.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1726, allocations: 384 / 445.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1726, allocations: 7.219 kB / 445.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.918e-05/0.1727, allocations: 22.78 kB / 445.4 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/0.1729, allocations: 248 kB / 445.6 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.1731, allocations: 53.3 kB / 445.7 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.698e-05/0.1731, allocations: 10.73 kB / 445.7 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1732, allocations: 3.938 kB / 445.7 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.149e-05/0.1732, allocations: 39.25 kB / 445.7 MB, free: 42.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1732, allocations: 0 / 445.7 MB, free: 42.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003766/0.1735, allocations: 160.4 kB / 445.9 MB, free: 42.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/0.1736, allocations: 55.41 kB / 445.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.571e-05/0.1737, allocations: 169.5 kB / 446.1 MB, free: 42.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.1737, allocations: 28.58 kB / 446.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.459e-05/0.1737, allocations: 90.98 kB / 446.2 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.1737, allocations: 25.53 kB / 446.2 MB, free: 42.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.1737, allocations: 16.38 kB / 446.3 MB, free: 42.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.061e-05/0.1738, allocations: 324.6 kB / 446.6 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.749e-05/0.1738, allocations: 21.97 kB / 446.6 MB, free: 41.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.138e-05/0.1738, allocations: 21.59 kB / 446.6 MB, free: 41.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.673e-05/0.1739, allocations: 56.53 kB / 446.7 MB, free: 41.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1739, allocations: 0 / 446.7 MB, free: 41.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.601e-05/0.174, allocations: 87.47 kB / 446.8 MB, free: 41.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.174, allocations: 5.781 kB / 446.8 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.174, allocations: 0 / 446.8 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.174, allocations: 2.812 kB / 446.8 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.904e-05/0.1741, allocations: 12.03 kB / 446.8 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1741, allocations: 1.875 kB / 446.8 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.971e-05/0.1741, allocations: 12.88 kB / 446.8 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/0.1741, allocations: 2.844 kB / 446.8 MB, free: 41.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * 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 4.049e-05/0.1741, allocations: 119.6 kB / 446.9 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.1741, allocations: 6.766 kB / 446.9 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.1743, allocations: 109.6 kB / 447 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1743, allocations: 0 / 447 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1743, allocations: 0 / 447 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1743, allocations: 6.75 kB / 447 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.1745, allocations: 319.5 kB / 447.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1745, allocations: 0 / 447.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.1745, allocations: 14.7 kB / 447.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1745, allocations: 0 / 447.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.1746, allocations: 3.938 kB / 447.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1746, allocations: 0 / 447.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1746, allocations: 2.781 kB / 447.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.396e-05/0.1746, allocations: 190.3 kB / 447.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-06/0.1747, allocations: 10.48 kB / 447.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.1747, allocations: 0 / 447.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.226e-05/0.1747, allocations: 5.859 kB / 447.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.1747, allocations: 9.969 kB / 447.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1747, allocations: 3.938 kB / 447.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.54e-05/0.1748, allocations: 127.2 kB / 447.7 MB, free: 40.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1748, allocations: 0 / 447.7 MB, free: 40.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001606/0.1749, allocations: 12.44 kB / 447.7 MB, free: 40.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * 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.0008037/0.1757, allocations: 1.037 MB / 448.7 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.1759, allocations: 47.94 kB / 448.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1759, allocations: 0 / 448.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.524e-05/0.1759, allocations: 35.22 kB / 448.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.1762, allocations: 16.23 kB / 448.8 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008315/0.177, allocations: 1.496 MB / 450.3 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.303e-05/0.177, allocations: 83.31 kB / 450.4 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.823e-05/0.1771, allocations: 12.23 kB / 450.4 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.1771, allocations: 28.06 kB / 450.5 MB, free: 38.98 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1771, allocations: 4 kB / 450.5 MB, free: 38.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.1925, allocations: 3.342 MB / 453.8 MB, free: 37.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.75/6.943, allocations: 7.516 kB / 453.8 MB, free: 37.64 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.893593654967844]