Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001093/0.001093, 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.0008316/0.0008316, 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.9305/0.9305, allocations: 177 MB / 204.1 MB, free: 5.75 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.2589/0.2589, 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.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.588e-05, allocations: 2.281 kB / 442.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.1715/0.1716, allocations: 1.589 MB / 443.8 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007371/0.1723, allocations: 0.5242 MB / 444.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.1724, allocations: 0 / 444.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.1726, allocations: 35.16 kB / 444.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.1728, allocations: 74.64 kB / 444.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.173, allocations: 114.2 kB / 444.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.1731, allocations: 64.66 kB / 444.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.915e-05/0.1732, allocations: 13 kB / 444.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.215e-05/0.1733, allocations: 35.52 kB / 444.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.992e-05/0.1733, allocations: 26.08 kB / 444.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.1733, allocations: 3.031 kB / 444.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.062e-05/0.1734, allocations: 28.28 kB / 444.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.1734, allocations: 16.66 kB / 444.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.1735, allocations: 11.53 kB / 444.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.1736, allocations: 81.8 kB / 444.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1736, allocations: 0 / 444.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1736, allocations: 0 / 444.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.1736, allocations: 0 / 444.8 MB, free: 43.11 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.0003322/0.1739, allocations: 307.1 kB / 445.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.174, allocations: 12.28 kB / 445.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.342e-05/0.174, allocations: 33.69 kB / 445.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.174, allocations: 11.69 kB / 445.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.1741, allocations: 134.5 kB / 445.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.1741, allocations: 1.094 kB / 445.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.1742, allocations: 8.406 kB / 445.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.1743, allocations: 49.78 kB / 445.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1743, allocations: 1.406 kB / 445.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.1743, allocations: 384 / 445.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1743, allocations: 7.266 kB / 445.3 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.455e-05/0.1743, allocations: 23.78 kB / 445.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000244/0.1746, allocations: 251.7 kB / 445.6 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.1747, allocations: 42.64 kB / 445.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.1748, allocations: 16.33 kB / 445.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.1748, allocations: 3.938 kB / 445.7 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.227e-05/0.1748, allocations: 40.16 kB / 445.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.1748, allocations: 0 / 445.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003689/0.1752, allocations: 153.1 kB / 445.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.1752, allocations: 51.41 kB / 445.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.131e-05/0.1753, allocations: 151 kB / 446.1 MB, free: 42.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.1753, allocations: 29.64 kB / 446.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.679e-05/0.1753, allocations: 94.52 kB / 446.2 MB, free: 41.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.1753, allocations: 18.95 kB / 446.2 MB, free: 41.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.1754, allocations: 20.66 kB / 446.2 MB, free: 41.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.72e-05/0.1754, allocations: 324.5 kB / 446.5 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.866e-05/0.1754, allocations: 21.5 kB / 446.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.464e-05/0.1755, allocations: 28.55 kB / 446.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.544e-05/0.1755, allocations: 53.16 kB / 446.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1755, allocations: 0 / 446.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.342e-05/0.1756, allocations: 88.72 kB / 446.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.1756, allocations: 5.312 kB / 446.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1756, allocations: 0.8438 kB / 446.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1756, allocations: 0 / 446.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.007e-05/0.1757, allocations: 17.89 kB / 446.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1757, allocations: 1.875 kB / 446.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.1757, allocations: 12.53 kB / 446.8 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.1757, allocations: 2.875 kB / 446.8 MB, free: 41.56 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 3.894e-05/0.1758, allocations: 112.5 kB / 446.9 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.1758, allocations: 13.02 kB / 446.9 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.1759, allocations: 100.4 kB / 447 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1759, allocations: 1.5 kB / 447 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1759, allocations: 6.75 kB / 447 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1759, allocations: 0 / 447 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.1761, allocations: 323.6 kB / 447.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1761, allocations: 0 / 447.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.74e-05/0.1762, allocations: 14.16 kB / 447.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1762, allocations: 0 / 447.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.1762, allocations: 0 / 447.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1762, allocations: 2.594 kB / 447.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1762, allocations: 0 / 447.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.888e-05/0.1763, allocations: 196.7 kB / 447.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-06/0.1763, allocations: 6.641 kB / 447.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.1763, allocations: 0 / 447.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.335e-05/0.1763, allocations: 8.297 kB / 447.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.1763, allocations: 0 / 447.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1763, allocations: 2.594 kB / 447.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.668e-05/0.1764, allocations: 123.5 kB / 447.7 MB, free: 40.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1764, allocations: 2.844 kB / 447.7 MB, free: 40.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001575/0.1765, allocations: 17.33 kB / 447.7 MB, free: 40.91 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.0008075/0.1774, allocations: 1.03 MB / 448.7 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.1775, allocations: 50.8 kB / 448.8 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1775, allocations: 0 / 448.8 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.68e-05/0.1775, allocations: 29.64 kB / 448.8 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.1778, allocations: 15.47 kB / 448.8 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008258/0.1786, allocations: 1.477 MB / 450.3 MB, free: 38.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.249e-05/0.1787, allocations: 79.03 kB / 450.3 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.28e-05/0.1787, allocations: 15.53 kB / 450.4 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.1787, allocations: 26.73 kB / 450.4 MB, free: 38.89 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1787, allocations: 0 / 450.4 MB, free: 38.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01454/0.1933, allocations: 3.286 MB / 453.7 MB, free: 37.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.533/6.726, allocations: 14.61 kB / 453.7 MB, free: 37.57 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.778854230418801]