Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.0008447/0.0008447, allocations: 80.34 kB / 20.67 MB, free: 3.879 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.0009397/0.0009397, allocations: 160.9 kB / 23.95 MB, free: 0.5977 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.8949/0.8949, allocations: 177 MB / 204.1 MB, free: 5.766 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.2347/0.2347, allocations: 34.23 MB / 294.8 MB, free: 0.6914 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.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 7.922 kB / 442.2 MB, free: 1.48 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/2.083e-05, allocations: 2.281 kB / 442.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.1784/0.1784, allocations: 1.704 MB / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1795, allocations: 0.9729 MB / 444.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.097e-05/0.1796, allocations: 2.875 kB / 444.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.1799, allocations: 87.5 kB / 445 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.1801, allocations: 115.2 kB / 445.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.1803, allocations: 85.3 kB / 445.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.1804, allocations: 117.6 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.367e-05/0.1805, allocations: 5.844 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.184e-05/0.1806, allocations: 66.95 kB / 445.4 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.558e-05/0.1807, allocations: 57.03 kB / 445.5 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1807, allocations: 2.938 kB / 445.5 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.367e-05/0.1808, allocations: 46.59 kB / 445.5 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.286e-05/0.1808, allocations: 33.34 kB / 445.5 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.1809, allocations: 15.81 kB / 445.5 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.181, allocations: 117.7 kB / 445.7 MB, free: 42.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1811, allocations: 6.875 kB / 445.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1811, allocations: 1.875 kB / 445.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1811, allocations: 3.938 kB / 445.7 MB, free: 42.85 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.0004007/0.1815, allocations: 357.1 kB / 446 MB, free: 42.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1815, allocations: 14.09 kB / 446 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.333e-05/0.1815, allocations: 30.75 kB / 446.1 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.1816, allocations: 14.47 kB / 446.1 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.1817, allocations: 156.2 kB / 446.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1818, allocations: 384 / 446.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.1818, allocations: 3.25 kB / 446.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.1819, allocations: 53.12 kB / 446.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1819, allocations: 3.125 kB / 446.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.1819, allocations: 11.02 kB / 446.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.1819, allocations: 0 / 446.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.873e-05/0.1819, allocations: 24.97 kB / 446.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002349/0.1822, allocations: 253.8 kB / 446.6 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.1823, allocations: 56.5 kB / 446.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.1823, allocations: 27.5 kB / 446.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.1823, allocations: 3.938 kB / 446.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.1824, allocations: 72.98 kB / 446.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.1824, allocations: 0 / 446.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003689/0.1828, allocations: 185.5 kB / 446.9 MB, free: 41.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.1828, allocations: 51.41 kB / 447 MB, free: 41.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.183, allocations: 230.1 kB / 447.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.271e-06/0.183, allocations: 26.45 kB / 447.2 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.183, allocations: 115.5 kB / 447.3 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.183, allocations: 29.34 kB / 447.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.183, allocations: 22.06 kB / 447.4 MB, free: 41.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.053e-05/0.1831, allocations: 326.2 kB / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.1831, allocations: 21 kB / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.535e-05/0.1831, allocations: 38.05 kB / 447.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.425e-05/0.1832, allocations: 67.47 kB / 447.8 MB, free: 41.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1832, allocations: 0 / 447.8 MB, free: 41.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001083/0.1833, allocations: 113.2 kB / 447.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1833, allocations: 5.375 kB / 447.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1833, allocations: 0 / 447.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1833, allocations: 5.656 kB / 447.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.1834, allocations: 14.66 kB / 448 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1834, allocations: 2.812 kB / 448 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.678e-05/0.1834, allocations: 3.875 kB / 448 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.1834, allocations: 6.094 kB / 448 MB, free: 41.21 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 (10): * Single equations (assignments): 10 * 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 5.085e-05/0.1835, allocations: 132.4 kB / 448.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.1835, allocations: 19.11 kB / 448.1 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.1837, allocations: 130 kB / 448.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1837, allocations: 0 / 448.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1837, allocations: 0 / 448.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1837, allocations: 3 kB / 448.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.1839, allocations: 375.3 kB / 448.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1839, allocations: 0 / 448.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.193e-05/0.1839, allocations: 14.62 kB / 448.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1839, allocations: 0 / 448.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1839, allocations: 2.594 kB / 448.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1839, allocations: 4.031 kB / 448.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1839, allocations: 4.828 kB / 448.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.184, allocations: 219.7 kB / 448.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.184, allocations: 6.891 kB / 448.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.1841, allocations: 6.219 kB / 448.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.736e-05/0.1841, allocations: 3.125 kB / 448.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.1841, allocations: 14.03 kB / 448.9 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.1841, allocations: 2.469 kB / 448.9 MB, free: 40.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.329e-05/0.1842, allocations: 172.5 kB / 449.1 MB, free: 40.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1842, allocations: 3.938 kB / 449.1 MB, free: 40.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000166/0.1844, allocations: 33.09 kB / 449.1 MB, free: 40.39 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 (9): * Single equations (assignments): 7 * 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.0009926/0.1854, allocations: 1.13 MB / 450.2 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.1855, allocations: 63.78 kB / 450.3 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1855, allocations: 0 / 450.3 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.048e-05/0.1855, allocations: 31.92 kB / 450.3 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.1858, allocations: 28.58 kB / 450.3 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009987/0.1868, allocations: 1.742 MB / 452.1 MB, free: 38.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.054e-05/0.1868, allocations: 102.2 kB / 452.2 MB, free: 38.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.824e-05/0.1868, allocations: 12.92 kB / 452.2 MB, free: 38.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.1869, allocations: 40.52 kB / 452.2 MB, free: 38.08 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1869, allocations: 0 / 452.2 MB, free: 38.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01459/0.2015, allocations: 4.385 MB / 456.6 MB, free: 36.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.715/6.917, allocations: 6.688 kB / 456.6 MB, free: 36.65 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.880268154665828]