Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.001677/0.001677, allocations: 74.66 kB / 19.93 MB, free: 1.781 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.001937/0.001937, allocations: 165.5 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2275/0.2275, allocations: 32.37 MB / 269.6 MB, free: 4.68 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 407.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.538e-05, allocations: 6.281 kB / 407.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003464/0.003489, allocations: 1.65 MB / 409.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.005231, allocations: 0.7685 MB / 409.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.005339, allocations: 0 / 409.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004381/0.005777, allocations: 47.81 kB / 409.9 MB, free: 468 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.006123, allocations: 63.69 kB / 410 MB, free: 404 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.006473, allocations: 83.09 kB / 410 MB, free: 324 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.006742, allocations: 99.62 kB / 410.1 MB, free: 224 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.291e-05/0.006804, allocations: 7.984 kB / 410.1 MB, free: 216 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.006973, allocations: 43.84 kB / 410.2 MB, free: 172 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.007093, allocations: 27.91 kB / 410.2 MB, free: 144 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.007123, allocations: 0 / 410.2 MB, free: 144 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.007247, allocations: 35.86 kB / 410.3 MB, free: 108 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.127e-05/0.007328, allocations: 27.92 kB / 410.3 MB, free: 80 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.725e-05/0.007396, allocations: 23.86 kB / 410.3 MB, free: 56 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.007724, allocations: 111.6 kB / 410.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.007728, allocations: 7.938 kB / 410.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.00773, allocations: 0 / 410.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.007736, allocations: 0 / 410.4 MB, free: 15.94 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007576/0.008494, allocations: 353.5 kB / 410.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.008542, allocations: 12.03 kB / 410.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.88e-05/0.008611, allocations: 16.78 kB / 410.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.008967, allocations: 153.3 kB / 410.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.008988, allocations: 8.375 kB / 411 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.009003, allocations: 4.359 kB / 411 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.009188, allocations: 50.19 kB / 411 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.009204, allocations: 11.92 kB / 411 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.009216, allocations: 0 / 411 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.009221, allocations: 0 / 411 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.743e-05/0.009309, allocations: 15.98 kB / 411 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.009551, allocations: 133.3 kB / 411.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.009762, allocations: 58.59 kB / 411.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.073e-05/0.009823, allocations: 20.8 kB / 411.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.009844, allocations: 3.984 kB / 411.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.01001, allocations: 67.39 kB / 411.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.004e-06/0.01001, allocations: 0 / 411.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003482/0.01036, allocations: 109.5 kB / 411.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.01041, allocations: 51.41 kB / 411.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.0107, allocations: 263.7 kB / 411.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.01073, allocations: 25.7 kB / 411.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.01083, allocations: 112.1 kB / 411.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.01088, allocations: 23.83 kB / 411.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.01092, allocations: 17.72 kB / 411.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.01108, allocations: 322.8 kB / 412.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.046e-05/0.01114, allocations: 19.98 kB / 412.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.521e-05/0.01122, allocations: 33.7 kB / 412.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.01133, allocations: 45.7 kB / 412.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01133, allocations: 0 / 412.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001945/0.01153, allocations: 85.53 kB / 412.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.01154, allocations: 4 kB / 412.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.01155, allocations: 7.938 kB / 412.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.01157, allocations: 0 / 412.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.539e-05/0.01166, allocations: 16.02 kB / 412.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.01166, allocations: 0 / 412.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.01173, allocations: 4 kB / 412.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.01174, allocations: 4 kB / 412.4 MB, free: 13.74 MB / 350.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 (7): * Single equations (assignments): 7 * 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.0001474/0.01188, allocations: 139.9 kB / 412.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.01192, allocations: 15.91 kB / 412.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.01218, allocations: 106.7 kB / 412.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01218, allocations: 0 / 412.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.01219, allocations: 4 kB / 412.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01219, allocations: 0 / 412.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.01235, allocations: 145.2 kB / 412.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.01236, allocations: 384 / 412.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.118e-05/0.01239, allocations: 4 kB / 412.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.01239, allocations: 0 / 412.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.0124, allocations: 8 kB / 412.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/0.01241, allocations: 8.031 kB / 412.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01241, allocations: 0 / 412.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.01265, allocations: 117 kB / 413 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.01267, allocations: 11.95 kB / 413 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.0127, allocations: 3.984 kB / 413 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/0.01275, allocations: 7.938 kB / 413 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.01279, allocations: 4 kB / 413 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.0128, allocations: 7.984 kB / 413 MB, free: 13.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.01301, allocations: 199.3 kB / 413.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01301, allocations: 0 / 413.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.01325, allocations: 23.94 kB / 413.2 MB, free: 12.89 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001783/0.01503, allocations: 431.6 kB / 413.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.01523, allocations: 51.91 kB / 413.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01523, allocations: 0 / 413.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.838e-05/0.0153, allocations: 20.06 kB / 413.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.01562, allocations: 35.67 kB / 413.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005602/0.01618, allocations: 269.7 kB / 414 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.01629, allocations: 104.7 kB / 414.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.772e-05/0.01634, allocations: 8.484 kB / 414.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.01638, allocations: 16.5 kB / 414.1 MB, free: 12 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.01638, allocations: 4 kB / 414.1 MB, free: 12 MB / 350.1 MB Notification: Performance of Templates: time 0.005728/0.02211, allocations: 1.613 MB / 415.8 MB, free: 10.4 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.236767306923866]