Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001304/0.001304, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001322/0.001322, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3147/0.3147, allocations: 34.25 MB / 296.1 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 378.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.198e-05, allocations: 2.312 kB / 378.6 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003808/0.00384, allocations: 1.918 MB / 380.5 MB, free: 372 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.005879, allocations: 1.099 MB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.006026, allocations: 0 / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004542/0.00648, allocations: 159.3 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005034/0.006983, allocations: 187.2 kB / 382 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.007354, allocations: 127.5 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.007748, allocations: 251.2 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.007888, allocations: 21.94 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.008126, allocations: 135.6 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.008323, allocations: 127.7 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.00835, allocations: 8 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.008498, allocations: 63.92 kB / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.097e-05/0.008589, allocations: 55.77 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.017e-05/0.008659, allocations: 51.78 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.008966, allocations: 187.2 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.008972, allocations: 4 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.008973, allocations: 0 / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.008978, allocations: 0 / 383 MB, free: 13.91 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006894/0.009668, allocations: 0.573 MB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.009715, allocations: 12.03 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.421e-05/0.009789, allocations: 28.8 kB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.01007, allocations: 212.6 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.01009, allocations: 4.375 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.01012, allocations: 8.375 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.01034, allocations: 125.4 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.01035, allocations: 3.938 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.01036, allocations: 7.984 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.01037, allocations: 7.938 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.806e-05/0.01043, allocations: 23.97 kB / 384 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.01092, allocations: 459.2 kB / 384.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.01118, allocations: 110.1 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.01123, allocations: 43.42 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.01126, allocations: 4 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.01143, allocations: 108.4 kB / 384.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.214e-06/0.01144, allocations: 0 / 384.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009398/0.01238, allocations: 374.2 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.01243, allocations: 85.03 kB / 385.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.01274, allocations: 346.2 kB / 385.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.01277, allocations: 41.69 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.0129, allocations: 203.3 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.056e-05/0.01298, allocations: 67.41 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/0.01306, allocations: 51.34 kB / 385.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005079/0.01356, allocations: 0.5196 MB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.845e-05/0.01363, allocations: 27.97 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.704e-05/0.01372, allocations: 70.7 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.01387, allocations: 110.8 kB / 386.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01388, allocations: 4 kB / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003053/0.01418, allocations: 189.3 kB / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.0142, allocations: 8 kB / 386.7 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.01421, allocations: 0 / 386.7 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.01423, allocations: 4 kB / 386.7 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.01436, allocations: 43.91 kB / 386.8 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.01437, allocations: 4 kB / 386.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.268e-05/0.01445, allocations: 11.94 kB / 386.8 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.01447, allocations: 8 kB / 386.8 MB, free: 9.785 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001456/0.01461, allocations: 172.6 kB / 387 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.01467, allocations: 39.8 kB / 387 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000338/0.015, allocations: 215.4 kB / 387.2 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.01501, allocations: 7.984 kB / 387.2 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.01501, allocations: 0 / 387.2 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.01502, allocations: 3.938 kB / 387.2 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005978/0.01562, allocations: 0.683 MB / 387.9 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.01562, allocations: 4.125 kB / 387.9 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.764e-05/0.01569, allocations: 35.92 kB / 388 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.0157, allocations: 7.938 kB / 388 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.01571, allocations: 8 kB / 388 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.01572, allocations: 0 / 388 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.01572, allocations: 4 kB / 388 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.01609, allocations: 0.4887 MB / 388.5 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.01612, allocations: 27.75 kB / 388.5 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.01615, allocations: 8 kB / 388.5 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.472e-05/0.01624, allocations: 11.98 kB / 388.5 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.01629, allocations: 27.97 kB / 388.5 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.01631, allocations: 4 kB / 388.5 MB, free: 7.941 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001482/0.01646, allocations: 234.9 kB / 388.8 MB, free: 7.711 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01646, allocations: 3.938 kB / 388.8 MB, free: 7.707 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002669/0.01673, allocations: 51.92 kB / 388.8 MB, free: 7.656 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001242/0.01797, allocations: 499.1 kB / 389.3 MB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.01815, allocations: 116 kB / 389.4 MB, free: 7.238 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01815, allocations: 0 / 389.4 MB, free: 7.238 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.107e-05/0.01822, allocations: 75.5 kB / 389.5 MB, free: 7.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.01859, allocations: 74.11 kB / 389.6 MB, free: 7.094 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006042/0.01919, allocations: 462.3 kB / 390 MB, free: 6.594 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.351e-05/0.01926, allocations: 88.31 kB / 390.1 MB, free: 6.488 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.795e-05/0.01933, allocations: 41.91 kB / 390.2 MB, free: 6.449 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.01944, allocations: 118.2 kB / 390.3 MB, free: 6.332 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01945, allocations: 4 kB / 390.3 MB, free: 6.328 MB / 362.7 MB Notification: Performance of Templates: time 0.006202/0.02565, allocations: 3.649 MB / 393.9 MB, free: 2.734 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.4579841727390885]