Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.000783/0.000783, allocations: 80.45 kB / 20.69 MB, free: 3.871 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.0007529/0.0007529, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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.7822/0.7822, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.125/0.125, allocations: 32.38 MB / 270.4 MB, free: 14.96 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 408.2 MB, free: 1.668 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.025e-05, allocations: 6.078 kB / 408.2 MB, free: 1.664 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002322/0.002352, allocations: 1.676 MB / 409.9 MB, free: 15.97 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009471/0.003299, allocations: 0.7765 MB / 410.6 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.346e-05/0.003373, allocations: 0 / 410.6 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.003714, allocations: 111.6 kB / 410.8 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.003928, allocations: 91.64 kB / 410.8 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.004116, allocations: 87.69 kB / 410.9 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.004277, allocations: 111.6 kB / 411 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.492e-05/0.004372, allocations: 8.219 kB / 411 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.482e-05/0.004457, allocations: 67.81 kB / 411.1 MB, free: 14.72 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.469e-05/0.004552, allocations: 59.86 kB / 411.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.00457, allocations: 4 kB / 411.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.046e-05/0.00465, allocations: 47.86 kB / 411.2 MB, free: 14.61 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.004701, allocations: 27.84 kB / 411.2 MB, free: 14.58 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.00474, allocations: 19.94 kB / 411.3 MB, free: 14.56 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.004928, allocations: 123.6 kB / 411.4 MB, free: 14.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.004932, allocations: 0 / 411.4 MB, free: 14.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.004933, allocations: 7.875 kB / 411.4 MB, free: 14.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004937, allocations: 0 / 411.4 MB, free: 14.43 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004713/0.005409, allocations: 357.4 kB / 411.7 MB, free: 14.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.005446, allocations: 12.03 kB / 411.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.00549, allocations: 16.83 kB / 411.8 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.005696, allocations: 154.4 kB / 411.9 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.005709, allocations: 4.375 kB / 411.9 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.00573, allocations: 4.375 kB / 411.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.005865, allocations: 66.17 kB / 412 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.005878, allocations: 3.938 kB / 412 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.005888, allocations: 0 / 412 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.005893, allocations: 0 / 412 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.604e-05/0.005949, allocations: 23.98 kB / 412 MB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.006254, allocations: 228.6 kB / 412.2 MB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.006384, allocations: 58.61 kB / 412.3 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.937e-05/0.006423, allocations: 24.78 kB / 412.3 MB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.006442, allocations: 8 kB / 412.3 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.006577, allocations: 63.39 kB / 412.4 MB, free: 13.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.006578, allocations: 0 / 412.4 MB, free: 13.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004947/0.007073, allocations: 201.2 kB / 412.6 MB, free: 13.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.007114, allocations: 51.41 kB / 412.6 MB, free: 13.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.00728, allocations: 253.9 kB / 412.9 MB, free: 12.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.007294, allocations: 29.7 kB / 412.9 MB, free: 12.76 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.007342, allocations: 104.1 kB / 413 MB, free: 12.65 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.007366, allocations: 19.86 kB / 413 MB, free: 12.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.007398, allocations: 37.64 kB / 413.1 MB, free: 12.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.728e-05/0.007486, allocations: 322.8 kB / 413.4 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.419e-05/0.00753, allocations: 23.98 kB / 413.4 MB, free: 12.24 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.364e-05/0.007573, allocations: 41.64 kB / 413.5 MB, free: 12.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.587e-05/0.007649, allocations: 65.64 kB / 413.5 MB, free: 12.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.00765, allocations: 0 / 413.5 MB, free: 12.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001237/0.007774, allocations: 105.5 kB / 413.6 MB, free: 12.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.00779, allocations: 4 kB / 413.6 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.007795, allocations: 4.031 kB / 413.6 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.00781, allocations: 4 kB / 413.6 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.25e-05/0.007882, allocations: 19.98 kB / 413.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.007887, allocations: 4.328 kB / 413.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.007919, allocations: 4 kB / 413.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.007926, allocations: 3.938 kB / 413.7 MB, free: 11.97 MB / 394.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 8.794e-05/0.008014, allocations: 141.7 kB / 413.8 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.008028, allocations: 19.89 kB / 413.8 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.008203, allocations: 123 kB / 413.9 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.008205, allocations: 3.938 kB / 413.9 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.00821, allocations: 8.375 kB / 414 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.008213, allocations: 0 / 414 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.008532, allocations: 354.9 kB / 414.3 MB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.008533, allocations: 0 / 414.3 MB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.473e-05/0.008558, allocations: 8 kB / 414.3 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.008562, allocations: 4 kB / 414.3 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.00857, allocations: 0 / 414.3 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.008572, allocations: 0 / 414.3 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.008573, allocations: 0 / 414.3 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.008712, allocations: 224.2 kB / 414.5 MB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.008726, allocations: 15.91 kB / 414.6 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.008743, allocations: 4 kB / 414.6 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.889e-05/0.008782, allocations: 4 kB / 414.6 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.008816, allocations: 3.984 kB / 414.6 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.008832, allocations: 4 kB / 414.6 MB, free: 11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001088/0.008941, allocations: 188.3 kB / 414.7 MB, free: 10.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008941, allocations: 0 / 414.7 MB, free: 10.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001799/0.009121, allocations: 27.98 kB / 414.8 MB, free: 10.79 MB / 394.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.0011/0.01022, allocations: 496.3 kB / 415.3 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001573/0.01038, allocations: 63.89 kB / 415.3 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01038, allocations: 0 / 415.3 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.763e-05/0.01043, allocations: 31.92 kB / 415.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.01068, allocations: 28.11 kB / 415.4 MB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.01112, allocations: 296.4 kB / 415.7 MB, free: 9.883 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.451e-05/0.0112, allocations: 104.6 kB / 415.8 MB, free: 9.762 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.01123, allocations: 20.5 kB / 415.8 MB, free: 9.742 MB / 394.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01123, allocations: 0 / 415.8 MB, free: 9.742 MB / 394.7 MB Notification: Performance of Templates: time 0.002937/0.01417, allocations: 2.09 MB / 417.9 MB, free: 7.652 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.397146896459162]