Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.0009764/0.0009764, allocations: 83.69 kB / 21.19 MB, free: 3.391 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.00095/0.00095, allocations: 165 kB / 24.56 MB, free: 20 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 0.978/0.978, allocations: 177.1 MB / 205 MB, free: 5.277 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.2682/0.2682, allocations: 34.26 MB / 295.7 MB, free: 0.7188 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 378.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.339e-05, allocations: 2.312 kB / 378.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.005688/0.005712, allocations: 1.781 MB / 379.9 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.007101, allocations: 1.021 MB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.494e-05/0.007176, allocations: 0 / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003335/0.01051, allocations: 111.5 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.01083, allocations: 123.5 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.01103, allocations: 87.53 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.01122, allocations: 139.6 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.071e-05/0.01131, allocations: 11.98 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.01142, allocations: 75.75 kB / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.01152, allocations: 67.84 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.01153, allocations: 4 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.01164, allocations: 59.92 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.0117, allocations: 35.84 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.324e-05/0.01174, allocations: 19.92 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.01195, allocations: 135.4 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.01195, allocations: 4 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01195, allocations: 0 / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.01195, allocations: 4 kB / 381.8 MB, free: 14.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004922/0.01245, allocations: 491.5 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.01248, allocations: 8.031 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.01253, allocations: 16.84 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.01271, allocations: 165.3 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.01273, allocations: 8.375 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.01275, allocations: 4.375 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.01289, allocations: 70.86 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.0129, allocations: 7.938 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.01291, allocations: 4 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.01292, allocations: 4 kB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.473e-05/0.01297, allocations: 15.98 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003367/0.01634, allocations: 323.6 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.01653, allocations: 66.98 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.869e-05/0.01657, allocations: 23.67 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.01658, allocations: 0 / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.01669, allocations: 77.22 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.01669, allocations: 0 / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005893/0.01728, allocations: 249.4 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.01731, allocations: 51.41 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.01771, allocations: 270.8 kB / 383.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.01773, allocations: 37.64 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.0178, allocations: 166.8 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.01783, allocations: 39.64 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.01788, allocations: 39.36 kB / 383.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.01801, allocations: 0.5 MB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.37e-05/0.01805, allocations: 27.98 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.775e-05/0.01811, allocations: 43.36 kB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.632e-05/0.0182, allocations: 71.3 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.0182, allocations: 0 / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000171/0.01838, allocations: 133.5 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.01839, allocations: 4 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01839, allocations: 0 / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.01841, allocations: 4 kB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.01848, allocations: 19.98 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.01849, allocations: 4 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.413e-05/0.01852, allocations: 4 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.01853, allocations: 8.031 kB / 384.7 MB, free: 11.78 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 (14): * Single equations (assignments): 14 * 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 8.3e-05/0.01862, allocations: 168.5 kB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.01865, allocations: 27.84 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.01887, allocations: 139.1 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01887, allocations: 0 / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01887, allocations: 0 / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01888, allocations: 0 / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003435/0.02231, allocations: 468.6 kB / 385.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.02231, allocations: 4.062 kB / 385.5 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.097e-05/0.02237, allocations: 31.92 kB / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.02237, allocations: 0 / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.02238, allocations: 4 kB / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.02238, allocations: 0 / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.02238, allocations: 3.938 kB / 385.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.02261, allocations: 311 kB / 385.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.02262, allocations: 11.91 kB / 385.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.02264, allocations: 4 kB / 385.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.741e-05/0.02271, allocations: 8 kB / 385.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.02275, allocations: 15.91 kB / 385.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.02276, allocations: 8 kB / 385.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.02288, allocations: 197.4 kB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02288, allocations: 0 / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002688/0.02315, allocations: 31.94 kB / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001131/0.02428, allocations: 492 kB / 386.6 MB, free: 9.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.02444, allocations: 82.41 kB / 386.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.02444, allocations: 0 / 386.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.566e-05/0.0245, allocations: 47.59 kB / 386.7 MB, free: 9.852 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.02481, allocations: 31.36 kB / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/0.02824, allocations: 301.9 kB / 387 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.206e-05/0.0283, allocations: 76.02 kB / 387.1 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.346e-05/0.02835, allocations: 25.12 kB / 387.1 MB, free: 9.371 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.02839, allocations: 24.5 kB / 387.2 MB, free: 9.348 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02839, allocations: 0 / 387.2 MB, free: 9.348 MB / 362.7 MB Notification: Performance of Templates: time 0.004418/0.03281, allocations: 2.265 MB / 389.4 MB, free: 7.113 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.3076591468416154]