Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.001877/0.001877, allocations: 74.89 kB / 19.93 MB, free: 1.77 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.001916/0.001916, allocations: 171.8 kB / 23.21 MB, free: 4.887 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.549/1.549, allocations: 158.6 MB / 185 MB, free: 6.398 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.2391/0.2391, allocations: 32.38 MB / 269.6 MB, free: 4.656 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.801e-06/5.801e-06, allocations: 3.984 kB / 407.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.564e-05/5.144e-05, allocations: 2.281 kB / 407.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.004507/0.004559, allocations: 1.674 MB / 409.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.006801, allocations: 0.7879 MB / 409.9 MB, free: 448 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.00692, allocations: 0 / 409.9 MB, free: 448 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005412/0.007461, allocations: 43.75 kB / 409.9 MB, free: 404 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.007804, allocations: 51.7 kB / 410 MB, free: 352 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.008255, allocations: 99 kB / 410.1 MB, free: 256 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00027/0.008525, allocations: 91.7 kB / 410.2 MB, free: 164 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.00866, allocations: 12.11 kB / 410.2 MB, free: 152 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.008824, allocations: 59.81 kB / 410.3 MB, free: 92 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.008957, allocations: 23.92 kB / 410.3 MB, free: 68 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.00899, allocations: 4 kB / 410.3 MB, free: 64 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.00913, allocations: 43.91 kB / 410.3 MB, free: 20 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.00926, allocations: 24 kB / 410.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.83e-05/0.009328, allocations: 15.94 kB / 410.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.009656, allocations: 115.4 kB / 410.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.009661, allocations: 0 / 410.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.009663, allocations: 0 / 410.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.00967, allocations: 0 / 410.5 MB, free: 15.87 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008281/0.0105, allocations: 345.6 kB / 410.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.01055, allocations: 12.03 kB / 410.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.742e-05/0.01062, allocations: 8.891 kB / 410.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.01105, allocations: 151.8 kB / 411 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.01107, allocations: 384 / 411 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.0111, allocations: 384 / 411 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.01132, allocations: 62.22 kB / 411 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/0.01134, allocations: 3.938 kB / 411 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.01136, allocations: 0 / 411 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.01136, allocations: 3.938 kB / 411.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.01147, allocations: 23.98 kB / 411.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.01197, allocations: 228.6 kB / 411.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.01222, allocations: 50.69 kB / 411.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.698e-05/0.01231, allocations: 32.72 kB / 411.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.01233, allocations: 3.938 kB / 411.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.01256, allocations: 67.39 kB / 411.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.419e-05/0.01257, allocations: 0 / 411.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008664/0.01344, allocations: 189.3 kB / 411.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.507e-05/0.01352, allocations: 59.39 kB / 411.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.0138, allocations: 186.2 kB / 411.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.01383, allocations: 29.7 kB / 411.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.01393, allocations: 100.1 kB / 412 MB, free: 14.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.01398, allocations: 23.84 kB / 412 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.01404, allocations: 21.72 kB / 412 MB, free: 14.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.01425, allocations: 322.8 kB / 412.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.425e-05/0.01433, allocations: 23.98 kB / 412.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.01444, allocations: 41.64 kB / 412.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.01464, allocations: 69.58 kB / 412.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.01464, allocations: 4 kB / 412.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002568/0.0149, allocations: 101.6 kB / 412.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.01492, allocations: 8 kB / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.01493, allocations: 0 / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/0.01496, allocations: 3.984 kB / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.0151, allocations: 12 kB / 412.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.01512, allocations: 4 kB / 412.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.25e-05/0.01519, allocations: 3.953 kB / 412.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.0152, allocations: 4.031 kB / 412.6 MB, free: 13.53 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 (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.0001804/0.01538, allocations: 137.7 kB / 412.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.01541, allocations: 7.953 kB / 412.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003921/0.0158, allocations: 126.5 kB / 412.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.01581, allocations: 0 / 412.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.01582, allocations: 0 / 412.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.01583, allocations: 3.984 kB / 412.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006091/0.01644, allocations: 342.9 kB / 413.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01644, allocations: 0 / 413.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.354e-05/0.01649, allocations: 19.97 kB / 413.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.0165, allocations: 0 / 413.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.01651, allocations: 3.984 kB / 413.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.01652, allocations: 4.375 kB / 413.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.01652, allocations: 3.984 kB / 413.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.01688, allocations: 220.1 kB / 413.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.01691, allocations: 7.953 kB / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.01695, allocations: 11.98 kB / 413.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.01704, allocations: 0 / 413.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.0171, allocations: 7.984 kB / 413.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.01713, allocations: 8.375 kB / 413.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.01731, allocations: 151.1 kB / 413.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01731, allocations: 0 / 413.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003857/0.01769, allocations: 23.98 kB / 413.7 MB, free: 12.39 MB / 350.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.002319/0.02001, allocations: 484.6 kB / 414.2 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.02031, allocations: 67.89 kB / 414.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.02031, allocations: 0 / 414.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.02043, allocations: 27.92 kB / 414.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.02093, allocations: 27.42 kB / 414.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007887/0.02172, allocations: 230.5 kB / 414.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.02185, allocations: 96.38 kB / 414.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.903e-05/0.02193, allocations: 20.64 kB / 414.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.02198, allocations: 16.5 kB / 414.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.02198, allocations: 0 / 414.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of Templates: time 0.008092/0.03007, allocations: 1.82 MB / 416.5 MB, free: 9.672 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.32354998588562]