Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.001361/0.001361, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001336/0.001336, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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 1.398/1.398, allocations: 177.1 MB / 204.3 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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.206/0.206, allocations: 32.81 MB / 293.5 MB, free: 16 kB / 270.1 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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 3.984 kB / 440.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.224e-05, allocations: 2.281 kB / 440.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002797/0.002819, allocations: 1.72 MB / 441.9 MB, free: 6.324 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.00451, allocations: 0.9664 MB / 442.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.447e-05/0.004575, allocations: 0 / 442.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.004832, allocations: 47.75 kB / 442.9 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.005125, allocations: 99.47 kB / 443 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.005314, allocations: 79.61 kB / 443.1 MB, free: 5.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.005486, allocations: 107.6 kB / 443.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.771e-05/0.005564, allocations: 7.984 kB / 443.2 MB, free: 5.016 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.005667, allocations: 59.77 kB / 443.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.5e-05/0.005752, allocations: 27.91 kB / 443.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.005772, allocations: 4 kB / 443.3 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.875e-05/0.00586, allocations: 36 kB / 443.3 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.308e-05/0.005923, allocations: 31.84 kB / 443.4 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.005966, allocations: 19.92 kB / 443.4 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.006167, allocations: 119.6 kB / 443.5 MB, free: 4.723 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.006169, allocations: 0 / 443.5 MB, free: 4.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.41e-07/0.006169, allocations: 0 / 443.5 MB, free: 4.723 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.006173, allocations: 0 / 443.5 MB, free: 4.723 MB / 366.1 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.0005136/0.006686, allocations: 349.5 kB / 443.8 MB, free: 4.352 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.006719, allocations: 12.02 kB / 443.8 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.006762, allocations: 12.89 kB / 443.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.006988, allocations: 165.4 kB / 444 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.007, allocations: 4.375 kB / 444 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.00702, allocations: 4.375 kB / 444 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.007163, allocations: 54.23 kB / 444.1 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.007176, allocations: 3.938 kB / 444.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.007186, allocations: 0 / 444.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.00719, allocations: 0 / 444.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.343e-05/0.007263, allocations: 19.98 kB / 444.1 MB, free: 4.051 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.007601, allocations: 232.6 kB / 444.3 MB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.007788, allocations: 66.61 kB / 444.4 MB, free: 3.719 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.752e-05/0.007846, allocations: 32.72 kB / 444.4 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.00786, allocations: 0 / 444.4 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.008, allocations: 67.39 kB / 444.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.008002, allocations: 0 / 444.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005624/0.008564, allocations: 193.3 kB / 444.7 MB, free: 3.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.008611, allocations: 55.41 kB / 444.7 MB, free: 3.344 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.00883, allocations: 211 kB / 444.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.008852, allocations: 29.7 kB / 445 MB, free: 3.094 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.966e-05/0.008932, allocations: 108.1 kB / 445.1 MB, free: 2.984 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.008962, allocations: 27.8 kB / 445.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.009006, allocations: 25.7 kB / 445.1 MB, free: 2.926 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.009163, allocations: 322.8 kB / 445.4 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.203e-05/0.009225, allocations: 27.92 kB / 445.5 MB, free: 2.574 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.079e-05/0.009295, allocations: 37.7 kB / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.009417, allocations: 61.66 kB / 445.6 MB, free: 2.465 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.009418, allocations: 0 / 445.6 MB, free: 2.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002052/0.009624, allocations: 109.5 kB / 445.7 MB, free: 2.352 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.009636, allocations: 7.938 kB / 445.7 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.009641, allocations: 4.031 kB / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.009652, allocations: 0 / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.023e-05/0.009743, allocations: 19.98 kB / 445.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.009747, allocations: 0 / 445.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.00979, allocations: 4 kB / 445.7 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.009797, allocations: 7.938 kB / 445.7 MB, free: 2.309 MB / 366.1 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 0.0001078/0.009905, allocations: 137.8 kB / 445.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.009926, allocations: 7.953 kB / 445.9 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.01019, allocations: 123.1 kB / 446 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.0102, allocations: 4 kB / 446 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.0102, allocations: 0 / 446 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.0102, allocations: 0 / 446 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004559/0.01066, allocations: 355.2 kB / 446.3 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01066, allocations: 0 / 446.3 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.044e-05/0.0107, allocations: 11.98 kB / 446.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.0107, allocations: 4.312 kB / 446.3 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.01071, allocations: 8 kB / 446.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.01072, allocations: 4 kB / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01072, allocations: 0 / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.01098, allocations: 220.2 kB / 446.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.011, allocations: 7.953 kB / 446.6 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.01103, allocations: 7.984 kB / 446.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.868e-05/0.0111, allocations: 0 / 446.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.01113, allocations: 11.98 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.01115, allocations: 4 kB / 446.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001501/0.0113, allocations: 159.2 kB / 446.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.0113, allocations: 0 / 446.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.01155, allocations: 27.92 kB / 446.8 MB, free: 1.168 MB / 366.1 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.001765/0.01332, allocations: 0.4917 MB / 447.3 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.01349, allocations: 59.91 kB / 447.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.0135, allocations: 0 / 447.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-05/0.01357, allocations: 28.12 kB / 447.4 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.01392, allocations: 42.23 kB / 447.4 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.01437, allocations: 242 kB / 447.6 MB, free: 500 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.316e-05/0.01446, allocations: 92.81 kB / 447.7 MB, free: 384 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.596e-05/0.01451, allocations: 16.97 kB / 447.7 MB, free: 364 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.01455, allocations: 20.48 kB / 447.8 MB, free: 344 kB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.01455, allocations: 4 kB / 447.8 MB, free: 340 kB / 366.1 MB Notification: Performance of Templates: time 0.1619/0.1765, allocations: 1.841 MB / 449.6 MB, free: 21.16 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.532241601496935]