Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.000901/0.000901, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.001038/0.001038, allocations: 166.3 kB / 23.96 MB, free: 0.6055 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 0.8598/0.8598, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.128/0.128, allocations: 32.38 MB / 270.4 MB, free: 14.95 MB / 266.7 MB " [Timeout remaining time 180] 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 408.2 MB, free: 1.637 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.652e-05, allocations: 6.078 kB / 408.2 MB, free: 1.633 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002215/0.002242, allocations: 1.876 MB / 410.1 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009072/0.003149, allocations: 0.8076 MB / 410.9 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.456e-05/0.003223, allocations: 4 kB / 410.9 MB, free: 14.92 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.003469, allocations: 47.64 kB / 410.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.003638, allocations: 63.58 kB / 411 MB, free: 14.81 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.00383, allocations: 107.7 kB / 411.1 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.003994, allocations: 147.5 kB / 411.2 MB, free: 14.56 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.981e-05/0.004084, allocations: 17.67 kB / 411.2 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.298e-05/0.004167, allocations: 75.8 kB / 411.3 MB, free: 14.46 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.021e-05/0.004237, allocations: 35.91 kB / 411.4 MB, free: 14.43 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.004254, allocations: 8 kB / 411.4 MB, free: 14.42 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-05/0.004324, allocations: 51.91 kB / 411.4 MB, free: 14.37 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.004368, allocations: 31.8 kB / 411.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.004416, allocations: 31.84 kB / 411.5 MB, free: 14.31 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.004605, allocations: 151.4 kB / 411.6 MB, free: 14.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.004608, allocations: 4 kB / 411.6 MB, free: 14.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.004609, allocations: 0 / 411.6 MB, free: 14.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.004613, allocations: 0 / 411.6 MB, free: 14.16 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004098/0.005023, allocations: 399.1 kB / 412 MB, free: 13.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.005053, allocations: 12.03 kB / 412 MB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.005087, allocations: 16.84 kB / 412 MB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.005272, allocations: 165.5 kB / 412.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.005282, allocations: 8.312 kB / 412.2 MB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.005301, allocations: 8.375 kB / 412.2 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.005456, allocations: 134.4 kB / 412.4 MB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.005464, allocations: 7.875 kB / 412.4 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.005475, allocations: 8 kB / 412.4 MB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.005479, allocations: 4 kB / 412.4 MB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.546e-05/0.005564, allocations: 51.95 kB / 412.4 MB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.005932, allocations: 448.6 kB / 412.9 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.006133, allocations: 82.66 kB / 412.9 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.006182, allocations: 32.84 kB / 413 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.006195, allocations: 3.938 kB / 413 MB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/0.006325, allocations: 117.1 kB / 413.1 MB, free: 12.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.006327, allocations: 0 / 413.1 MB, free: 12.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002376/0.006564, allocations: 145.5 kB / 413.2 MB, free: 12.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.00659, allocations: 59.34 kB / 413.3 MB, free: 12.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.006715, allocations: 183.6 kB / 413.5 MB, free: 12.13 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.006726, allocations: 29.7 kB / 413.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.006789, allocations: 120 kB / 413.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.00681, allocations: 31.73 kB / 413.7 MB, free: 11.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.006845, allocations: 33.7 kB / 413.7 MB, free: 11.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.584e-05/0.006921, allocations: 334.8 kB / 414 MB, free: 11.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.685e-05/0.006968, allocations: 27.98 kB / 414 MB, free: 11.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.743e-05/0.007025, allocations: 64.2 kB / 414.1 MB, free: 11.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.007134, allocations: 104.5 kB / 414.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007136, allocations: 0 / 414.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004171/0.007553, allocations: 145.4 kB / 414.3 MB, free: 11.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.007564, allocations: 4 kB / 414.3 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.007568, allocations: 0 / 414.3 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.00758, allocations: 4 kB / 414.4 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.198e-05/0.007632, allocations: 23.92 kB / 414.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.007637, allocations: 4 kB / 414.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.379e-05/0.007671, allocations: 7.953 kB / 414.4 MB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.007678, allocations: 16.11 kB / 414.4 MB, free: 11.14 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 7.509e-05/0.007753, allocations: 125.7 kB / 414.5 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.007767, allocations: 19.91 kB / 414.5 MB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.007943, allocations: 131 kB / 414.7 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.007945, allocations: 0 / 414.7 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.007948, allocations: 0 / 414.7 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.007952, allocations: 3.984 kB / 414.7 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.089e-05/0.008043, allocations: 145.2 kB / 414.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.008045, allocations: 0 / 414.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.008085, allocations: 19.98 kB / 414.8 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.008086, allocations: 3.938 kB / 414.8 MB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.008094, allocations: 4 kB / 414.8 MB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.008096, allocations: 4 kB / 414.9 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.008097, allocations: 0 / 414.9 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.008305, allocations: 193 kB / 415 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.00832, allocations: 23.92 kB / 415.1 MB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.008336, allocations: 7.938 kB / 415.1 MB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.615e-05/0.008362, allocations: 7.984 kB / 415.1 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.008393, allocations: 16.05 kB / 415.1 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.008404, allocations: 0 / 415.1 MB, free: 10.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.706e-05/0.008481, allocations: 149.1 kB / 415.2 MB, free: 10.24 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008481, allocations: 0 / 415.2 MB, free: 10.24 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.008633, allocations: 27.94 kB / 415.3 MB, free: 10.21 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0006339/0.009267, allocations: 431 kB / 415.7 MB, free: 9.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.009414, allocations: 83.95 kB / 415.8 MB, free: 9.738 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.009415, allocations: 8.062 kB / 415.8 MB, free: 9.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.133e-05/0.009466, allocations: 31.97 kB / 415.8 MB, free: 9.699 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.009657, allocations: 47.89 kB / 415.9 MB, free: 9.652 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.01005, allocations: 291.7 kB / 416.1 MB, free: 9.332 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.943e-05/0.01011, allocations: 98.77 kB / 416.2 MB, free: 9.215 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.01014, allocations: 20.5 kB / 416.3 MB, free: 9.195 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01014, allocations: 0 / 416.3 MB, free: 9.195 MB / 394.7 MB Notification: Performance of Templates: time 0.002597/0.01274, allocations: 2.227 MB / 418.5 MB, free: 6.961 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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: 4.7626350140199065]