Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001285/0.001285, 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.001056/0.001056, 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.9245/0.9245, allocations: 177 MB / 204.1 MB, free: 5.742 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.2456/0.2456, allocations: 34.23 MB / 294.8 MB, free: 0.6953 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.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 3.938 kB / 442.2 MB, free: 1.48 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.189e-05, allocations: 8.75 kB / 442.2 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.176/0.176, allocations: 1.71 MB / 444 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.1771, allocations: 0.996 MB / 445 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.468e-05/0.1772, allocations: 3.938 kB / 445 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.1775, allocations: 37.45 kB / 445 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.1778, allocations: 100.8 kB / 445.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.1779, allocations: 79.47 kB / 445.2 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.178, allocations: 114.3 kB / 445.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.346e-05/0.1781, allocations: 7.406 kB / 445.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.909e-05/0.1782, allocations: 59.09 kB / 445.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.477e-05/0.1783, allocations: 32.84 kB / 445.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.853e-05/0.1783, allocations: 5.469 kB / 445.4 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.1784, allocations: 116.6 kB / 445.5 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.1785, allocations: 20.56 kB / 445.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.1785, allocations: 19.16 kB / 445.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.1787, allocations: 184.6 kB / 445.7 MB, free: 42.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1788, allocations: 6.422 kB / 445.7 MB, free: 42.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1788, allocations: 0 / 445.7 MB, free: 42.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1788, allocations: 1.812 kB / 445.7 MB, free: 42.75 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004167/0.1792, allocations: 351.2 kB / 446.1 MB, free: 42.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1792, allocations: 11.03 kB / 446.1 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.551e-05/0.1792, allocations: 30.75 kB / 446.1 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.1793, allocations: 21.72 kB / 446.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.1795, allocations: 151.6 kB / 446.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1795, allocations: 7.094 kB / 446.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.1795, allocations: 4.031 kB / 446.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1797, allocations: 96.67 kB / 446.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1797, allocations: 3.031 kB / 446.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1797, allocations: 4.125 kB / 446.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1797, allocations: 0 / 446.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.803e-05/0.1797, allocations: 34.36 kB / 446.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.18, allocations: 233.7 kB / 446.7 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.1801, allocations: 67.22 kB / 446.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.1801, allocations: 25.12 kB / 446.7 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.1801, allocations: 6.5 kB / 446.7 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.1803, allocations: 73.53 kB / 446.8 MB, free: 41.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.1803, allocations: 2.594 kB / 446.8 MB, free: 41.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004185/0.1807, allocations: 207.1 kB / 447 MB, free: 41.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.1807, allocations: 80.14 kB / 447.1 MB, free: 41.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.1808, allocations: 173.9 kB / 447.3 MB, free: 41.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.1808, allocations: 25.7 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.1809, allocations: 105.9 kB / 447.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.1809, allocations: 35.45 kB / 447.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.1809, allocations: 28.92 kB / 447.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.892e-05/0.181, allocations: 324.8 kB / 447.8 MB, free: 41.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.181, allocations: 35.17 kB / 447.8 MB, free: 41.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.874e-05/0.181, allocations: 77.06 kB / 447.9 MB, free: 41.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.982e-05/0.1811, allocations: 89.11 kB / 448 MB, free: 41.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1811, allocations: 3.938 kB / 448 MB, free: 41.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001263/0.1813, allocations: 128 kB / 448.1 MB, free: 41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1813, allocations: 5.344 kB / 448.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1813, allocations: 2.75 kB / 448.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1813, allocations: 0 / 448.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.193e-05/0.1814, allocations: 20.09 kB / 448.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1814, allocations: 2.625 kB / 448.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.301e-05/0.1814, allocations: 0 / 448.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1814, allocations: 9.781 kB / 448.1 MB, free: 40.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 6.03e-05/0.1815, allocations: 132.9 kB / 448.3 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.1815, allocations: 12.09 kB / 448.3 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.1817, allocations: 138.8 kB / 448.4 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1817, allocations: 6.047 kB / 448.4 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.1817, allocations: 0 / 448.4 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1817, allocations: 3.516 kB / 448.4 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.182, allocations: 400.6 kB / 448.8 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.182, allocations: 0 / 448.8 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-05/0.182, allocations: 15.25 kB / 448.8 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.182, allocations: 2.812 kB / 448.8 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.182, allocations: 3.328 kB / 448.8 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.182, allocations: 5.719 kB / 448.8 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.182, allocations: 3.938 kB / 448.9 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.1822, allocations: 222.7 kB / 449.1 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.1822, allocations: 13.16 kB / 449.1 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.1822, allocations: 10.28 kB / 449.1 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.248e-05/0.1822, allocations: 0 / 449.1 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.1823, allocations: 16.98 kB / 449.1 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.1823, allocations: 6.75 kB / 449.1 MB, free: 40.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.278e-05/0.1824, allocations: 130.9 kB / 449.2 MB, free: 40.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1824, allocations: 0 / 449.2 MB, free: 40.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002318/0.1826, allocations: 57.78 kB / 449.3 MB, free: 40.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00111/0.1837, allocations: 1.248 MB / 450.5 MB, free: 39.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.1838, allocations: 80.3 kB / 450.6 MB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1838, allocations: 0 / 450.6 MB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.326e-05/0.1839, allocations: 35.86 kB / 450.7 MB, free: 39.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.1841, allocations: 34.69 kB / 450.7 MB, free: 39.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000986/0.1851, allocations: 1.69 MB / 452.4 MB, free: 37.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.82e-05/0.1851, allocations: 90.97 kB / 452.5 MB, free: 37.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.95e-05/0.1852, allocations: 21.98 kB / 452.5 MB, free: 37.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.1852, allocations: 40.73 kB / 452.5 MB, free: 37.79 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1852, allocations: 2.844 kB / 452.5 MB, free: 37.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.2005, allocations: 5.118 MB / 457.7 MB, free: 36.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.673/6.874, allocations: 3.938 kB / 457.7 MB, free: 36.19 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.870686300098896]