Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001976/0.001976, 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.001811/0.001811, allocations: 166.2 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.134/1.134, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.3958/0.3958, allocations: 34.27 MB / 296.1 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 378.6 MB, free: 2.27 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.286e-05/4.547e-05, allocations: 2.312 kB / 378.6 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.004467/0.004513, allocations: 1.785 MB / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.006621, allocations: 1.005 MB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.006787, allocations: 4 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005693/0.007356, allocations: 103.6 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006281/0.007984, allocations: 139.3 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.008304, allocations: 87.59 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.008524, allocations: 135.6 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.008644, allocations: 17.58 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.008791, allocations: 79.8 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.008901, allocations: 67.8 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.008921, allocations: 8 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.009035, allocations: 67.84 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.111e-05/0.009097, allocations: 31.91 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.522e-05/0.009152, allocations: 27.86 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.009397, allocations: 131.5 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.0094, allocations: 0 / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.009401, allocations: 0 / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.009407, allocations: 0 / 382.3 MB, free: 14.57 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006212/0.01003, allocations: 495.5 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/0.01009, allocations: 16.03 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.522e-05/0.01016, allocations: 24.8 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.01039, allocations: 165.3 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.01042, allocations: 8.312 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.01045, allocations: 8.375 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.01063, allocations: 70.92 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.01065, allocations: 3.938 kB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.01066, allocations: 0 / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.01066, allocations: 0 / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.23e-05/0.01071, allocations: 23.91 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.01112, allocations: 292.3 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.01134, allocations: 66.95 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/0.01138, allocations: 27.61 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.0114, allocations: 0 / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001171/0.01152, allocations: 73.17 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.01152, allocations: 0 / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006189/0.01214, allocations: 245.2 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.01217, allocations: 55.41 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.01234, allocations: 266.7 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.01236, allocations: 33.7 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.077e-05/0.01245, allocations: 162.8 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.0125, allocations: 51.56 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.01255, allocations: 39.45 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.01271, allocations: 0.5078 MB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.543e-05/0.01274, allocations: 19.98 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.564e-05/0.01279, allocations: 47.27 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.159e-05/0.01287, allocations: 67.34 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.01287, allocations: 8 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00018/0.01305, allocations: 129.5 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.01307, allocations: 4 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01307, allocations: 0 / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.01309, allocations: 0 / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.588e-05/0.01317, allocations: 31.98 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.01318, allocations: 0 / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.618e-05/0.01321, allocations: 4 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.01322, allocations: 4 kB / 385.2 MB, free: 11.45 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 (16): * Single equations (assignments): 16 * 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.0001103/0.01333, allocations: 176.5 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.01336, allocations: 15.91 kB / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.01361, allocations: 158.5 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.01361, allocations: 0 / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01361, allocations: 4 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.01362, allocations: 4 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005132/0.01413, allocations: 460.8 kB / 386 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.01414, allocations: 0 / 386 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.753e-05/0.0142, allocations: 23.98 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.0142, allocations: 8.062 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.01421, allocations: 3.984 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.01422, allocations: 7.938 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.01422, allocations: 3.938 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.01452, allocations: 307.1 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.65e-05/0.01455, allocations: 19.83 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.01457, allocations: 8 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.564e-05/0.01463, allocations: 7.938 kB / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.01467, allocations: 11.98 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.01469, allocations: 7.984 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.0148, allocations: 189.4 kB / 386.6 MB, free: 9.984 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0148, allocations: 0 / 386.6 MB, free: 9.984 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.01504, allocations: 31.94 kB / 386.6 MB, free: 9.953 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 (16): * Single equations (assignments): 14 * 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.001257/0.0163, allocations: 489.3 kB / 387.1 MB, free: 9.652 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.01648, allocations: 75.22 kB / 387.1 MB, free: 9.578 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01648, allocations: 0 / 387.1 MB, free: 9.578 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.355e-05/0.01655, allocations: 51.58 kB / 387.2 MB, free: 9.523 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.01684, allocations: 38.55 kB / 387.2 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005226/0.01736, allocations: 309 kB / 387.5 MB, free: 9.156 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.393e-05/0.01744, allocations: 79.81 kB / 387.6 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.801e-05/0.01751, allocations: 29.66 kB / 387.6 MB, free: 9.023 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.881e-05/0.01761, allocations: 98.19 kB / 387.7 MB, free: 8.926 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01761, allocations: 0 / 387.7 MB, free: 8.926 MB / 362.7 MB Notification: Performance of Templates: time 0.005504/0.02311, allocations: 2.6 MB / 390.3 MB, free: 6.363 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.6582971210591495]