Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.0008897/0.0008897, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009444/0.0009444, allocations: 162 kB / 24.99 MB, free: 8.746 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 1.013/1.013, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2902/0.2902, allocations: 32.8 MB / 294.6 MB, free: 1.285 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 376.1 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.546e-05/3.731e-05, allocations: 2.312 kB / 376.1 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.004207/0.004244, allocations: 1.766 MB / 377.9 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003148/0.007391, allocations: 1.726 MB / 379.6 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.00753, allocations: 0 / 379.6 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004599/0.00799, allocations: 43.77 kB / 379.6 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000524/0.008514, allocations: 103.4 kB / 379.7 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.008827, allocations: 79.61 kB / 379.8 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.009078, allocations: 111.6 kB / 379.9 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.009218, allocations: 4 kB / 379.9 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.009378, allocations: 59.81 kB / 380 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.00954, allocations: 31.91 kB / 380 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.009568, allocations: 7.984 kB / 380 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.009821, allocations: 103.8 kB / 380.1 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.651e-05/0.009898, allocations: 23.91 kB / 380.1 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.249e-05/0.00996, allocations: 27.92 kB / 380.2 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003841/0.01034, allocations: 155.5 kB / 380.3 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.01035, allocations: 0 / 380.3 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.01035, allocations: 0 / 380.3 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.01036, allocations: 0 / 380.3 MB, free: 0.6484 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.0006873/0.01104, allocations: 455.7 kB / 380.8 MB, free: 172 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.01109, allocations: 8.031 kB / 380.8 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.485e-05/0.01117, allocations: 12.89 kB / 380.8 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.01146, allocations: 157 kB / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.01149, allocations: 384 / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.01151, allocations: 8.375 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.01178, allocations: 107.4 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.01179, allocations: 3.953 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.01181, allocations: 4 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.01182, allocations: 4 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.877e-05/0.01189, allocations: 11.92 kB / 381.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.01241, allocations: 279.8 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.01259, allocations: 55.17 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.109e-05/0.01264, allocations: 23.67 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.01265, allocations: 0 / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.01282, allocations: 68.98 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.575e-06/0.01283, allocations: 0 / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006921/0.01352, allocations: 161.5 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.01359, allocations: 77.11 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.01384, allocations: 220.7 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.01387, allocations: 33.69 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.931e-05/0.01397, allocations: 138.9 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.01402, allocations: 31.77 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/0.01408, allocations: 31.38 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.01429, allocations: 0.5 MB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.652e-05/0.01434, allocations: 11.98 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.243e-05/0.01442, allocations: 72.73 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.01453, allocations: 47.31 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.01453, allocations: 4 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001858/0.01472, allocations: 89.53 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.01474, allocations: 9.875 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01475, allocations: 0 / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.01476, allocations: 4.062 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.01487, allocations: 15.98 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.01488, allocations: 4 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.39e-05/0.01493, allocations: 0 / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.01495, allocations: 4 kB / 382.9 MB, free: 13.79 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.0001289/0.01507, allocations: 171.7 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.01511, allocations: 11.95 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.01536, allocations: 102.5 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.01537, allocations: 0 / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.01537, allocations: 7.984 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.01538, allocations: 4 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.01588, allocations: 388.9 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.01588, allocations: 0 / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.411e-05/0.01594, allocations: 15.92 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.01594, allocations: 4 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.01596, allocations: 4 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.01596, allocations: 0 / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.01597, allocations: 4 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.01626, allocations: 255.4 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.01628, allocations: 7.953 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.01632, allocations: 8.031 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-05/0.0164, allocations: 7.984 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.01645, allocations: 7.938 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.01647, allocations: 12.11 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001204/0.0166, allocations: 161.6 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0166, allocations: 0 / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000358/0.01695, allocations: 47.86 kB / 384.1 MB, free: 12.5 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.001942/0.0189, allocations: 0.5335 MB / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.01909, allocations: 51.61 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.01909, allocations: 4.062 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.79e-05/0.01916, allocations: 31.61 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.01957, allocations: 50.84 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/0.0202, allocations: 197.9 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.075e-05/0.02028, allocations: 67.34 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.887e-05/0.02037, allocations: 17.27 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.02044, allocations: 24.56 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of SimCode: time 1.303e-06/0.02044, allocations: 4 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of Templates: time 0.007567/0.02801, allocations: 2.533 MB / 387.6 MB, free: 9.168 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4071924909949303]