Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008194/0.0008194, allocations: 87.62 kB / 21.44 MB, free: 3.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003261/0.003261, allocations: 158.8 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8745/0.8745, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2219/0.2219, allocations: 32.79 MB / 294.2 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 440.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.587e-05, allocations: 8.047 kB / 440.9 MB, free: 3.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002024/0.002049, allocations: 1.712 MB / 442.6 MB, free: 1.926 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.003144, allocations: 0.9762 MB / 443.6 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.003209, allocations: 3.938 kB / 443.6 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.003466, allocations: 39.77 kB / 443.7 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.003728, allocations: 103.4 kB / 443.8 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.003883, allocations: 71.69 kB / 443.8 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.004046, allocations: 115.6 kB / 444 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.004146, allocations: 4 kB / 444 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.137e-05/0.004228, allocations: 55.81 kB / 444 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.23e-05/0.0043, allocations: 23.92 kB / 444 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.004315, allocations: 4 kB / 444 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.984e-05/0.004395, allocations: 43.92 kB / 444.1 MB, free: 500 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.826e-05/0.004453, allocations: 27.84 kB / 444.1 MB, free: 472 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.004489, allocations: 19.88 kB / 444.1 MB, free: 452 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.004671, allocations: 115.6 kB / 444.2 MB, free: 336 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.004673, allocations: 3.938 kB / 444.2 MB, free: 332 kB / 410.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004673, allocations: 4 kB / 444.2 MB, free: 328 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.004678, allocations: 0 / 444.2 MB, free: 328 kB / 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.1763/0.181, allocations: 338.8 kB / 444.6 MB, free: 46.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.181, allocations: 8.031 kB / 444.6 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.1811, allocations: 10.3 kB / 444.6 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.1813, allocations: 146.6 kB / 444.7 MB, free: 46.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1813, allocations: 6.641 kB / 444.7 MB, free: 46.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1814, allocations: 3.938 kB / 444.8 MB, free: 46.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.1815, allocations: 56.55 kB / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1815, allocations: 1.375 kB / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1815, allocations: 0 / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1815, allocations: 2.297 kB / 444.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.613e-05/0.1816, allocations: 31.3 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.1818, allocations: 232.7 kB / 445.1 MB, free: 46.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.1819, allocations: 54.95 kB / 445.1 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.325e-05/0.182, allocations: 20.81 kB / 445.1 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.182, allocations: 0 / 445.1 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001029/0.1821, allocations: 72.33 kB / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.1821, allocations: 0 / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004051/0.1825, allocations: 187.4 kB / 445.4 MB, free: 46.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.1825, allocations: 54.34 kB / 445.4 MB, free: 46.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.973e-05/0.1826, allocations: 184.8 kB / 445.6 MB, free: 46.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.1826, allocations: 30.55 kB / 445.7 MB, free: 46.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.1827, allocations: 105.4 kB / 445.8 MB, free: 46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.1827, allocations: 25.89 kB / 445.8 MB, free: 45.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.1827, allocations: 19.38 kB / 445.8 MB, free: 45.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.281e-05/0.1828, allocations: 321.4 kB / 446.1 MB, free: 45.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.159e-05/0.1828, allocations: 26.16 kB / 446.1 MB, free: 45.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.551e-05/0.1828, allocations: 37.42 kB / 446.2 MB, free: 45.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.904e-05/0.1829, allocations: 62.33 kB / 446.2 MB, free: 45.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1829, allocations: 0 / 446.2 MB, free: 45.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.696e-05/0.183, allocations: 114 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.183, allocations: 7.656 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.183, allocations: 2.531 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.183, allocations: 2.625 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.135e-05/0.1831, allocations: 24.94 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1831, allocations: 3.234 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.1831, allocations: 5.297 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1831, allocations: 2.938 kB / 446.4 MB, free: 45.59 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.561e-05/0.1832, allocations: 128.7 kB / 446.5 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.1832, allocations: 13.8 kB / 446.5 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.1833, allocations: 115.8 kB / 446.7 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1833, allocations: 3.234 kB / 446.7 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1833, allocations: 1.812 kB / 446.7 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1833, allocations: 0 / 446.7 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.1836, allocations: 351.2 kB / 447 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1836, allocations: 0 / 447 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.99e-05/0.1836, allocations: 17.47 kB / 447 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1836, allocations: 2.906 kB / 447 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1836, allocations: 6.234 kB / 447 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.1836, allocations: 0 / 447 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1836, allocations: 0 / 447 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.733e-05/0.1837, allocations: 217 kB / 447.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.297e-06/0.1837, allocations: 10.59 kB / 447.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.1837, allocations: 2.75 kB / 447.3 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.719e-05/0.1838, allocations: 5.469 kB / 447.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.1838, allocations: 15.73 kB / 447.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.1838, allocations: 9.219 kB / 447.3 MB, free: 44.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.389e-05/0.1839, allocations: 145.7 kB / 447.4 MB, free: 44.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1839, allocations: 0 / 447.4 MB, free: 44.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001615/0.184, allocations: 26.45 kB / 447.5 MB, free: 44.85 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.0006716/0.1847, allocations: 486.3 kB / 447.9 MB, free: 44.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.1848, allocations: 60.97 kB / 448 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.1848, allocations: 0 / 448 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.1848, allocations: 33.27 kB / 448 MB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.1851, allocations: 42.2 kB / 448.1 MB, free: 44.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.1854, allocations: 238 kB / 448.3 MB, free: 44.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.595e-05/0.1854, allocations: 87.12 kB / 448.4 MB, free: 44.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.1855, allocations: 27.45 kB / 448.4 MB, free: 44.39 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1855, allocations: 2.594 kB / 448.4 MB, free: 44.39 MB / 410.7 MB Notification: Performance of Templates: time 0.002594/0.1881, allocations: 1.983 MB / 450.4 MB, free: 44.18 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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: 4.934253997169435]