Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.0009571/0.0009571, 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.0008454/0.0008454, 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.9044/0.9044, allocations: 177 MB / 204.1 MB, free: 5.738 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.2488/0.2488, allocations: 34.23 MB / 294.8 MB, free: 0.6875 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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 442.3 MB, free: 1.465 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/2.072e-05, allocations: 2.281 kB / 442.3 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.1779/0.1779, allocations: 1.739 MB / 444 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1791, allocations: 0.9859 MB / 445 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.1792, allocations: 2.188 kB / 445 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.1795, allocations: 106.2 kB / 445.1 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.1798, allocations: 130.2 kB / 445.2 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.18, allocations: 82.83 kB / 445.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.1801, allocations: 142.2 kB / 445.4 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1802, allocations: 19.09 kB / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.67e-05/0.1803, allocations: 73.41 kB / 445.5 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.9e-05/0.1804, allocations: 68.11 kB / 445.6 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.1804, allocations: 5.375 kB / 445.6 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.153e-05/0.1805, allocations: 70.19 kB / 445.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.745e-05/0.1806, allocations: 30.77 kB / 445.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.1806, allocations: 29.72 kB / 445.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.1808, allocations: 164.6 kB / 445.9 MB, free: 42.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1808, allocations: 0 / 445.9 MB, free: 42.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1809, allocations: 0 / 445.9 MB, free: 42.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1809, allocations: 0 / 445.9 MB, free: 42.74 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004288/0.1813, allocations: 386.2 kB / 446.3 MB, free: 42.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1813, allocations: 10.62 kB / 446.3 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.1814, allocations: 40.56 kB / 446.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.1814, allocations: 18.64 kB / 446.3 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.1817, allocations: 169.5 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.1817, allocations: 5.844 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.1817, allocations: 7.094 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.1818, allocations: 71.77 kB / 446.6 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1818, allocations: 192 / 446.6 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1819, allocations: 8.688 kB / 446.6 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1819, allocations: 0 / 446.6 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.016e-05/0.182, allocations: 45.03 kB / 446.6 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.1823, allocations: 293.5 kB / 446.9 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.1825, allocations: 80.64 kB / 447 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.1826, allocations: 30.62 kB / 447 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.1826, allocations: 0 / 447 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/0.1827, allocations: 89.77 kB / 447.1 MB, free: 41.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.1827, allocations: 2.875 kB / 447.1 MB, free: 41.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005672/0.1833, allocations: 318.8 kB / 447.4 MB, free: 41.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.1833, allocations: 51.41 kB / 447.5 MB, free: 41.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.1834, allocations: 266.4 kB / 447.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.1835, allocations: 29.58 kB / 447.8 MB, free: 41.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.1835, allocations: 127.5 kB / 447.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.1835, allocations: 48.75 kB / 447.9 MB, free: 41.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.1836, allocations: 32.05 kB / 448 MB, free: 41.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.216e-05/0.1836, allocations: 335.4 kB / 448.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.338e-05/0.1836, allocations: 36.48 kB / 448.3 MB, free: 41.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.317e-05/0.1837, allocations: 57.91 kB / 448.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.838e-05/0.1838, allocations: 102 kB / 448.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1838, allocations: 0 / 448.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001515/0.1839, allocations: 169.2 kB / 448.7 MB, free: 40.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.184, allocations: 9.75 kB / 448.7 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.184, allocations: 0 / 448.7 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.184, allocations: 0 / 448.7 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.112e-05/0.184, allocations: 34.73 kB / 448.7 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.184, allocations: 2.656 kB / 448.7 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.86e-05/0.1841, allocations: 0 / 448.7 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.1841, allocations: 12.95 kB / 448.7 MB, free: 40.9 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 (16): * Single equations (assignments): 16 * 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.708e-05/0.1842, allocations: 141 kB / 448.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.1842, allocations: 17.48 kB / 448.9 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.1844, allocations: 203.5 kB / 449.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1844, allocations: 6.875 kB / 449.1 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1844, allocations: 0 / 449.1 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1844, allocations: 3.797 kB / 449.1 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.1847, allocations: 490 kB / 449.6 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1847, allocations: 2.688 kB / 449.6 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.681e-05/0.1848, allocations: 24.72 kB / 449.6 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1848, allocations: 6.812 kB / 449.6 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1848, allocations: 6.969 kB / 449.6 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1848, allocations: 10 kB / 449.6 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1848, allocations: 4 kB / 449.6 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.1849, allocations: 274.7 kB / 449.9 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.185, allocations: 21.64 kB / 449.9 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.185, allocations: 6.875 kB / 449.9 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.18e-05/0.185, allocations: 6.25 kB / 449.9 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.185, allocations: 8.984 kB / 449.9 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.1851, allocations: 13.06 kB / 449.9 MB, free: 40.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.401e-05/0.1851, allocations: 197.3 kB / 450.1 MB, free: 39.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1851, allocations: 0 / 450.1 MB, free: 39.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001876/0.1853, allocations: 41.53 kB / 450.2 MB, free: 39.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001016/0.1864, allocations: 1.256 MB / 451.4 MB, free: 39.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.1865, allocations: 104 kB / 451.5 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1865, allocations: 0 / 451.5 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.838e-05/0.1866, allocations: 53.72 kB / 451.6 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.1868, allocations: 32.56 kB / 451.6 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.188, allocations: 2.045 MB / 453.7 MB, free: 37.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.947e-05/0.1881, allocations: 118.2 kB / 453.8 MB, free: 37.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.139e-05/0.1881, allocations: 29.39 kB / 453.8 MB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.847e-05/0.1882, allocations: 58.7 kB / 453.9 MB, free: 37.41 MB / 410.7 MB Notification: Performance of SimCode: time 4.8e-07/0.1882, allocations: 0 / 453.9 MB, free: 37.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.2043, allocations: 5.223 MB / 459.1 MB, free: 35.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.769/6.973, allocations: 17.56 kB / 459.1 MB, free: 35.89 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.958940262906253]