Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.002275/0.002275, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002717/0.002717, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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 1.583/1.583, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.329/0.329, allocations: 32.8 MB / 293.9 MB, free: 1.211 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.468e-05/3.662e-05, allocations: 2.312 kB / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003634/0.003671, allocations: 1.739 MB / 377.1 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.005907, allocations: 0.9937 MB / 378.1 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.355e-05/0.00598, allocations: 0 / 378.1 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.006279, allocations: 39.72 kB / 378.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.006615, allocations: 91.55 kB / 378.2 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.006844, allocations: 87.53 kB / 378.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.007039, allocations: 103.7 kB / 378.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.268e-05/0.007132, allocations: 7.984 kB / 378.4 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.007261, allocations: 59.77 kB / 378.5 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.969e-05/0.00734, allocations: 23.92 kB / 378.5 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.007363, allocations: 7.984 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.007467, allocations: 43.92 kB / 378.5 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.007527, allocations: 15.92 kB / 378.6 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.007576, allocations: 19.94 kB / 378.6 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.00784, allocations: 115.6 kB / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.007845, allocations: 0 / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.007846, allocations: 0 / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.007852, allocations: 3.938 kB / 378.7 MB, free: 1.535 MB / 346.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.0006766/0.008529, allocations: 443.6 kB / 379.1 MB, free: 1.066 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.008564, allocations: 8.031 kB / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.318e-05/0.008637, allocations: 24.83 kB / 379.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.00889, allocations: 139.4 kB / 379.3 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.008908, allocations: 4.359 kB / 379.3 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.008929, allocations: 8.375 kB / 379.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.00908, allocations: 54.23 kB / 379.4 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.009096, allocations: 3.938 kB / 379.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.009108, allocations: 0 / 379.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.009112, allocations: 0 / 379.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.535e-05/0.009197, allocations: 19.92 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.009643, allocations: 291.8 kB / 379.7 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.009829, allocations: 59.16 kB / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.596e-05/0.009895, allocations: 27.62 kB / 379.7 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.009912, allocations: 0 / 379.7 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.01007, allocations: 80.98 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.01008, allocations: 0 / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006666/0.01074, allocations: 181.3 kB / 380 MB, free: 84 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.01081, allocations: 51.41 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.01114, allocations: 234.5 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.01118, allocations: 29.7 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.0113, allocations: 150.8 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.51e-05/0.01135, allocations: 31.78 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.01141, allocations: 27.38 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002746/0.01169, allocations: 0.5 MB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.155e-05/0.01175, allocations: 19.98 kB / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.884e-05/0.01183, allocations: 47.36 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.01196, allocations: 67.25 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.01196, allocations: 0 / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002241/0.01218, allocations: 113.5 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.0122, allocations: 4 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.0122, allocations: 0 / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.01221, allocations: 0 / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.824e-05/0.01231, allocations: 24.36 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.01232, allocations: 0 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.01236, allocations: 8.031 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.01237, allocations: 4 kB / 381.3 MB, free: 14.7 MB / 362.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 0.0001345/0.01251, allocations: 164.5 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.01254, allocations: 15.95 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.0128, allocations: 118.5 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01281, allocations: 0 / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.01281, allocations: 4 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.01282, allocations: 3.984 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005379/0.01336, allocations: 405 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01336, allocations: 4.031 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.345e-05/0.0134, allocations: 11.94 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.0134, allocations: 0 / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.01341, allocations: 4 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.01341, allocations: 0 / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01342, allocations: 0 / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.01374, allocations: 279.4 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.01376, allocations: 7.953 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.01379, allocations: 0 / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.01386, allocations: 4 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.0139, allocations: 11.97 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.01392, allocations: 8 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001504/0.01407, allocations: 175.9 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01407, allocations: 0 / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002564/0.01433, allocations: 31.92 kB / 382.5 MB, free: 13.39 MB / 362.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.003373/0.0177, allocations: 496.6 kB / 383 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.01792, allocations: 75.53 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01792, allocations: 0 / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.71e-05/0.01801, allocations: 39.61 kB / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.01837, allocations: 31.81 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.01885, allocations: 214.4 kB / 383.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.01896, allocations: 97.56 kB / 383.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.422e-05/0.01902, allocations: 25.27 kB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.01906, allocations: 16.5 kB / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01906, allocations: 0 / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of Templates: time 0.1131/0.1321, allocations: 1.859 MB / 385.4 MB, free: 10.73 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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: 5.1192787470063195]