Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.001724/0.001724, allocations: 88.23 kB / 20.21 MB, free: 4.223 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.0023/0.0023, allocations: 157.7 kB / 23.52 MB, free: 0.9141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2459/0.2459, allocations: 32.38 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.604e-06/2.604e-06, allocations: 0 / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.556e-05/5.817e-05, allocations: 6.25 kB / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.004226/0.004285, allocations: 1.695 MB / 348.7 MB, free: 8.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.005964, allocations: 0.7649 MB / 349.5 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.006092, allocations: 7.938 kB / 349.5 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003643/0.006456, allocations: 35.78 kB / 349.5 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.006742, allocations: 55.69 kB / 349.6 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.007051, allocations: 87.7 kB / 349.7 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.007261, allocations: 107.6 kB / 349.8 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.901e-05/0.00736, allocations: 4.234 kB / 349.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.007473, allocations: 47.84 kB / 349.8 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.028e-05/0.007563, allocations: 31.89 kB / 349.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.007585, allocations: 4 kB / 349.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.007709, allocations: 47.86 kB / 349.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.98e-05/0.007769, allocations: 19.91 kB / 349.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.007824, allocations: 15.94 kB / 349.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.008061, allocations: 107.6 kB / 350 MB, free: 6.684 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.008065, allocations: 4 kB / 350 MB, free: 6.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.008066, allocations: 4 kB / 350 MB, free: 6.676 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.008071, allocations: 0 / 350 MB, free: 6.676 MB / 282.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.0005827/0.008654, allocations: 341.6 kB / 350.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.0087, allocations: 8.031 kB / 350.4 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.999e-05/0.00877, allocations: 16.89 kB / 350.4 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.009036, allocations: 149.5 kB / 350.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.009054, allocations: 384 / 350.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.009085, allocations: 4.375 kB / 350.5 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.009281, allocations: 54.23 kB / 350.6 MB, free: 6.055 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.009309, allocations: 11.89 kB / 350.6 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.00933, allocations: 3.984 kB / 350.6 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.009337, allocations: 0 / 350.6 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.528e-05/0.009433, allocations: 23.98 kB / 350.6 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.009877, allocations: 228.5 kB / 350.9 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.01009, allocations: 58.67 kB / 350.9 MB, free: 5.695 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.827e-05/0.01016, allocations: 24.78 kB / 350.9 MB, free: 5.668 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.01019, allocations: 0 / 350.9 MB, free: 5.668 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.01037, allocations: 67.39 kB / 351 MB, free: 5.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.774e-06/0.01038, allocations: 4 kB / 351 MB, free: 5.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007733/0.01115, allocations: 181.3 kB / 351.2 MB, free: 5.402 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.0112, allocations: 59.34 kB / 351.3 MB, free: 5.332 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.01139, allocations: 188.5 kB / 351.4 MB, free: 5.141 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.01141, allocations: 25.7 kB / 351.5 MB, free: 5.109 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.01148, allocations: 100.1 kB / 351.6 MB, free: 5.008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.788e-05/0.01153, allocations: 27.8 kB / 351.6 MB, free: 4.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.01158, allocations: 25.72 kB / 351.6 MB, free: 4.949 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.01173, allocations: 322.8 kB / 351.9 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.568e-05/0.0118, allocations: 27.98 kB / 352 MB, free: 4.598 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-05/0.01187, allocations: 37.64 kB / 352 MB, free: 4.555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.01201, allocations: 65.58 kB / 352.1 MB, free: 4.484 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.01201, allocations: 0 / 352.1 MB, free: 4.484 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001723/0.01218, allocations: 101.6 kB / 352.2 MB, free: 4.379 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.0122, allocations: 8 kB / 352.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.0122, allocations: 0 / 352.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.01223, allocations: 0 / 352.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.01234, allocations: 23.92 kB / 352.2 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.01235, allocations: 8.031 kB / 352.2 MB, free: 4.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.01239, allocations: 384 / 352.2 MB, free: 4.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.0124, allocations: 4 kB / 352.2 MB, free: 4.336 MB / 282.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 9.854e-05/0.0125, allocations: 134.7 kB / 352.3 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.01253, allocations: 15.91 kB / 352.3 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/0.0128, allocations: 122.5 kB / 352.5 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.0128, allocations: 7.984 kB / 352.5 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.01281, allocations: 4 kB / 352.5 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.01282, allocations: 3.984 kB / 352.5 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.0132, allocations: 346.9 kB / 352.8 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.0132, allocations: 0 / 352.8 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.01323, allocations: 8 kB / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.01324, allocations: 4 kB / 352.8 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.01325, allocations: 3.984 kB / 352.8 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.01325, allocations: 0 / 352.8 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01325, allocations: 0 / 352.8 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.01348, allocations: 224.2 kB / 353.1 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.0135, allocations: 7.953 kB / 353.1 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.01353, allocations: 3.984 kB / 353.1 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.0136, allocations: 11.97 kB / 353.1 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.01367, allocations: 7.984 kB / 353.1 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.01368, allocations: 4 kB / 353.1 MB, free: 3.371 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.01379, allocations: 144.1 kB / 353.2 MB, free: 3.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01379, allocations: 0 / 353.2 MB, free: 3.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000282/0.01407, allocations: 27.98 kB / 353.3 MB, free: 3.203 MB / 282.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.002189/0.01626, allocations: 498.3 kB / 353.7 MB, free: 2.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.01644, allocations: 59.91 kB / 353.8 MB, free: 2.762 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01644, allocations: 0 / 353.8 MB, free: 2.762 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.73e-05/0.01651, allocations: 31.92 kB / 353.8 MB, free: 2.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.01688, allocations: 33.52 kB / 353.9 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.01731, allocations: 237.1 kB / 354.1 MB, free: 2.438 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.904e-05/0.01738, allocations: 92.3 kB / 354.2 MB, free: 2.324 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.699e-05/0.01742, allocations: 16.78 kB / 354.2 MB, free: 2.309 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.01746, allocations: 16.5 kB / 354.2 MB, free: 2.293 MB / 282.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01746, allocations: 0 / 354.2 MB, free: 2.293 MB / 282.7 MB Notification: Performance of Templates: time 0.00535/0.02281, allocations: 1.836 MB / 356.1 MB, free: 480 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.330979540012777]