Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.001113/0.001113, 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.001249/0.001249, allocations: 166.6 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.075/1.075, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2881/0.2881, allocations: 34.25 MB / 296 MB, free: 0.7891 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 378.1 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.136e-05, allocations: 5.828 kB / 378.1 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003367/0.003398, allocations: 1.766 MB / 379.9 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.00588, allocations: 1.73 MB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.005994, allocations: 3.938 kB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.006339, allocations: 31.83 kB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004721/0.006811, allocations: 103.4 kB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.007087, allocations: 87.55 kB / 381.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.007302, allocations: 99.69 kB / 381.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.007426, allocations: 15.98 kB / 381.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.007545, allocations: 63.77 kB / 382 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.007669, allocations: 31.89 kB / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.007689, allocations: 4 kB / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.0079, allocations: 107.8 kB / 382.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.354e-05/0.007963, allocations: 15.92 kB / 382.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.02e-05/0.008013, allocations: 31.84 kB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.008337, allocations: 155.5 kB / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.008344, allocations: 4 kB / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.008345, allocations: 0 / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.008351, allocations: 0 / 382.3 MB, free: 14.64 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005984/0.008949, allocations: 455.8 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.008992, allocations: 8.031 kB / 382.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.689e-05/0.009059, allocations: 8.891 kB / 382.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.00931, allocations: 156 kB / 383 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.009336, allocations: 4.375 kB / 383 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.00936, allocations: 384 / 383 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.009558, allocations: 115.3 kB / 383.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.00957, allocations: 3.953 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.009582, allocations: 0 / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.00959, allocations: 0 / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.946e-05/0.00964, allocations: 19.98 kB / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.01001, allocations: 283.8 kB / 383.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.01016, allocations: 59.09 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.17e-05/0.0102, allocations: 19.67 kB / 383.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.01022, allocations: 0 / 383.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.01035, allocations: 69.05 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.01035, allocations: 0 / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004971/0.01085, allocations: 153.3 kB / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.0109, allocations: 85.11 kB / 383.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.01108, allocations: 220.8 kB / 384 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.0111, allocations: 25.7 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.01117, allocations: 146.9 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.01121, allocations: 27.78 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.01127, allocations: 31.31 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.01143, allocations: 0.5 MB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.89e-05/0.01147, allocations: 8 kB / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/0.01154, allocations: 68.75 kB / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.545e-05/0.01162, allocations: 47.44 kB / 384.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.01162, allocations: 4.031 kB / 384.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000169/0.01179, allocations: 101.4 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.01181, allocations: 4 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.01182, allocations: 0 / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.01184, allocations: 4 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.01195, allocations: 23.92 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.01196, allocations: 0 / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.01201, allocations: 4 kB / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.01202, allocations: 0 / 385 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 (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.0001119/0.01213, allocations: 172.5 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.01216, allocations: 11.95 kB / 385.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.01237, allocations: 102.4 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01238, allocations: 0 / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.01238, allocations: 0 / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.01239, allocations: 3.984 kB / 385.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/0.01281, allocations: 392.9 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.01281, allocations: 0 / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.044e-05/0.01285, allocations: 8 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.01286, allocations: 0 / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.01287, allocations: 12.02 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.01287, allocations: 384 / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01287, allocations: 0 / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.01311, allocations: 259.4 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.01313, allocations: 7.953 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.01317, allocations: 4 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.447e-05/0.01325, allocations: 11.98 kB / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.01329, allocations: 7.938 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.01331, allocations: 7.984 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000106/0.01342, allocations: 165.5 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01342, allocations: 4 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003574/0.01378, allocations: 43.88 kB / 386.1 MB, free: 10.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.001599/0.01538, allocations: 0.5391 MB / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.01556, allocations: 59.59 kB / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.01556, allocations: 0 / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.565e-05/0.01561, allocations: 27.67 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.01598, allocations: 35.91 kB / 386.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004853/0.01647, allocations: 206 kB / 387 MB, free: 9.797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.802e-05/0.01653, allocations: 67.33 kB / 387.1 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.442e-05/0.01659, allocations: 17.27 kB / 387.1 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.01664, allocations: 24.5 kB / 387.1 MB, free: 9.668 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01664, allocations: 0 / 387.1 MB, free: 9.668 MB / 362.7 MB Notification: Performance of Templates: time 0.00562/0.02226, allocations: 2.532 MB / 389.6 MB, free: 7.16 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.3922876499127597]