Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.0008418/0.0008418, 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.0008209/0.0008209, 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.8933/0.8933, 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.23/0.23, allocations: 34.25 MB / 294.8 MB, free: 0.6797 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.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 3.938 kB / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.778e-05, allocations: 5.094 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.1712/0.1712, allocations: 1.581 MB / 443.8 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007106/0.1719, allocations: 0.5183 MB / 444.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/0.1719, allocations: 0 / 444.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.1721, allocations: 34.23 kB / 444.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.1723, allocations: 83.78 kB / 444.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.1725, allocations: 88.08 kB / 444.5 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.1726, allocations: 63.3 kB / 444.5 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.965e-05/0.1727, allocations: 13.14 kB / 444.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.784e-05/0.1727, allocations: 36.83 kB / 444.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.458e-05/0.1728, allocations: 23.55 kB / 444.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.1728, allocations: 2.969 kB / 444.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.659e-05/0.1729, allocations: 28.22 kB / 444.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.1729, allocations: 17.17 kB / 444.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.1729, allocations: 14.77 kB / 444.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.173, allocations: 78.55 kB / 444.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.173, allocations: 3.031 kB / 444.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.173, allocations: 0 / 444.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.173, allocations: 2.031 kB / 444.8 MB, free: 43.12 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.0002927/0.1733, allocations: 317.3 kB / 445.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.1734, allocations: 10.66 kB / 445.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.91e-05/0.1734, allocations: 33.69 kB / 445.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.179e-05/0.1734, allocations: 7.734 kB / 445.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.951e-05/0.1735, allocations: 146.9 kB / 445.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-06/0.1735, allocations: 384 / 445.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.1735, allocations: 7.75 kB / 445.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.4e-05/0.1736, allocations: 45.98 kB / 445.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1736, allocations: 192 / 445.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.1736, allocations: 8 kB / 445.3 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1736, allocations: 0 / 445.3 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.999e-05/0.1737, allocations: 21.78 kB / 445.3 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.1739, allocations: 246.9 kB / 445.6 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.174, allocations: 53 kB / 445.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.383e-05/0.1741, allocations: 16.84 kB / 445.6 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.1741, allocations: 3 kB / 445.7 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.608e-06/0.1741, allocations: 37.19 kB / 445.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1741, allocations: 0 / 445.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003307/0.1744, allocations: 147.8 kB / 445.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.727e-05/0.1744, allocations: 51.41 kB / 445.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.367e-05/0.1745, allocations: 175.3 kB / 446.1 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.16e-06/0.1745, allocations: 28.33 kB / 446.1 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.711e-05/0.1746, allocations: 101 kB / 446.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.1746, allocations: 17.27 kB / 446.2 MB, free: 41.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.1746, allocations: 19.34 kB / 446.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.635e-05/0.1746, allocations: 325.2 kB / 446.5 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.609e-05/0.1747, allocations: 17.28 kB / 446.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.892e-05/0.1747, allocations: 25.75 kB / 446.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.221e-05/0.1748, allocations: 45.64 kB / 446.6 MB, free: 41.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.1748, allocations: 0 / 446.6 MB, free: 41.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.076e-05/0.1749, allocations: 78.06 kB / 446.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1749, allocations: 6.125 kB / 446.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1749, allocations: 2.469 kB / 446.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1749, allocations: 0 / 446.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.095e-05/0.1749, allocations: 11.58 kB / 446.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1749, allocations: 8.875 kB / 446.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.071e-05/0.175, allocations: 16.14 kB / 446.7 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.175, allocations: 0 / 446.7 MB, free: 41.55 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.434e-05/0.175, allocations: 127.9 kB / 446.9 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.175, allocations: 6.547 kB / 446.9 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.1752, allocations: 89.03 kB / 447 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1752, allocations: 0 / 447 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1752, allocations: 0 / 447 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1752, allocations: 4 kB / 447 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.1754, allocations: 325 kB / 447.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1754, allocations: 0 / 447.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.656e-05/0.1754, allocations: 15.92 kB / 447.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1754, allocations: 0 / 447.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1754, allocations: 0 / 447.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1754, allocations: 3 kB / 447.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1754, allocations: 0 / 447.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.1755, allocations: 192.2 kB / 447.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-06/0.1755, allocations: 3.953 kB / 447.5 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.1755, allocations: 9.453 kB / 447.5 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.486e-05/0.1756, allocations: 2.812 kB / 447.5 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.1756, allocations: 3.234 kB / 447.5 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.1756, allocations: 9.469 kB / 447.5 MB, free: 40.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.22e-05/0.1757, allocations: 139.4 kB / 447.7 MB, free: 40.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1757, allocations: 0 / 447.7 MB, free: 40.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001623/0.1758, allocations: 16.44 kB / 447.7 MB, free: 40.89 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.0008124/0.1766, allocations: 1.02 MB / 448.7 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001078/0.1767, allocations: 49.03 kB / 448.7 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.1767, allocations: 0 / 448.7 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.212e-05/0.1768, allocations: 26.28 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.0002521/0.177, allocations: 20.72 kB / 448.8 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008077/0.1778, allocations: 1.509 MB / 450.3 MB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.765e-05/0.1779, allocations: 85.02 kB / 450.4 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.858e-05/0.1779, allocations: 5.391 kB / 450.4 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.178, allocations: 31.94 kB / 450.4 MB, free: 38.88 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.178, allocations: 0 / 450.4 MB, free: 38.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01362/0.1916, allocations: 3.356 MB / 453.8 MB, free: 37.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.869/7.061, allocations: 17.3 kB / 453.8 MB, free: 37.55 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.998060434125364]