Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.001658/0.001658, allocations: 74.66 kB / 19.93 MB, free: 1.785 MB / 14.72 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.00201/0.00201, allocations: 165.2 kB / 23.21 MB, free: 4.906 MB / 14.72 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.616/1.616, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 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.2523/0.2523, allocations: 32.38 MB / 269.6 MB, free: 4.77 MB / 254.1 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 407.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.452e-05/3.69e-05, allocations: 2.281 kB / 407.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003779/0.003816, allocations: 1.67 MB / 409.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.005746, allocations: 0.784 MB / 409.9 MB, free: 488 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.818e-05/0.005845, allocations: 0 / 409.9 MB, free: 488 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005761/0.006421, allocations: 107.6 kB / 410 MB, free: 380 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.006761, allocations: 91.59 kB / 410.1 MB, free: 288 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.007069, allocations: 91 kB / 410.2 MB, free: 200 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.00734, allocations: 127.7 kB / 410.3 MB, free: 72 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.007473, allocations: 8.172 kB / 410.3 MB, free: 64 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.00763, allocations: 63.81 kB / 410.4 MB, free: 0 / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.007808, allocations: 63.86 kB / 410.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.007839, allocations: 4 kB / 410.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.007949, allocations: 47.91 kB / 410.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.816e-05/0.008027, allocations: 31.86 kB / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.934e-05/0.008087, allocations: 19.92 kB / 410.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.008352, allocations: 131.5 kB / 410.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.008356, allocations: 7.938 kB / 410.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.008357, allocations: 0 / 410.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.008363, allocations: 4 kB / 410.7 MB, free: 15.7 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007099/0.009073, allocations: 369.3 kB / 411 MB, free: 15.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.009124, allocations: 8.031 kB / 411 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.347e-05/0.009187, allocations: 20.83 kB / 411.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.009528, allocations: 157.3 kB / 411.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.009549, allocations: 8.375 kB / 411.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.009572, allocations: 384 / 411.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.009777, allocations: 66.22 kB / 411.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.009795, allocations: 3.938 kB / 411.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.009808, allocations: 3.938 kB / 411.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.009815, allocations: 4 kB / 411.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.009961, allocations: 35.91 kB / 411.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.01056, allocations: 252.5 kB / 411.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.01083, allocations: 74.66 kB / 411.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.98e-05/0.01091, allocations: 28.78 kB / 411.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.01093, allocations: 0 / 411.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.01115, allocations: 83.33 kB / 411.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.893e-06/0.01115, allocations: 0 / 411.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007677/0.01192, allocations: 221.3 kB / 412 MB, free: 14.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.01198, allocations: 55.39 kB / 412 MB, free: 14.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.01228, allocations: 250.6 kB / 412.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.01231, allocations: 33.69 kB / 412.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.49e-05/0.0124, allocations: 116.1 kB / 412.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.01244, allocations: 23.92 kB / 412.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.01249, allocations: 25.7 kB / 412.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.01267, allocations: 326.8 kB / 412.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-05/0.01275, allocations: 27.98 kB / 412.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.969e-05/0.01284, allocations: 45.7 kB / 412.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.013, allocations: 85.61 kB / 413 MB, free: 13.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.013, allocations: 0 / 413 MB, free: 13.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002511/0.01326, allocations: 121.5 kB / 413.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.01327, allocations: 4 kB / 413.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.01328, allocations: 4 kB / 413.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.0133, allocations: 3.984 kB / 413.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.0134, allocations: 16 kB / 413.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.01341, allocations: 7.938 kB / 413.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.314e-05/0.01345, allocations: 4.031 kB / 413.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.01346, allocations: 7.984 kB / 413.1 MB, free: 13.06 MB / 350.1 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 (11): * Single equations (assignments): 11 * 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.0001579/0.01362, allocations: 147.5 kB / 413.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.01365, allocations: 15.91 kB / 413.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003383/0.01399, allocations: 143 kB / 413.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.494e-05/0.01404, allocations: 4 kB / 413.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.01404, allocations: 0 / 413.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.01405, allocations: 0 / 413.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005935/0.01464, allocations: 382.9 kB / 413.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01464, allocations: 0 / 413.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.489e-05/0.0147, allocations: 16 kB / 413.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.0147, allocations: 3.984 kB / 413.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.01472, allocations: 4 kB / 413.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01472, allocations: 0 / 413.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01472, allocations: 0 / 413.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.01507, allocations: 244 kB / 414.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.01509, allocations: 11.91 kB / 414.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.01513, allocations: 8 kB / 414.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.0152, allocations: 0 / 414.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.01525, allocations: 12.2 kB / 414.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.01528, allocations: 11.98 kB / 414.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002144/0.01549, allocations: 200.1 kB / 414.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01549, allocations: 4 kB / 414.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000275/0.01577, allocations: 20 kB / 414.3 MB, free: 11.8 MB / 350.1 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 (11): * Single equations (assignments): 9 * 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.002001/0.01777, allocations: 497.9 kB / 414.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.01802, allocations: 75.89 kB / 414.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01802, allocations: 3.938 kB / 414.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.408e-05/0.01811, allocations: 31.98 kB / 414.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.0185, allocations: 27.98 kB / 414.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006988/0.0192, allocations: 298.8 kB / 415.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.01934, allocations: 113.8 kB / 415.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.09e-05/0.0194, allocations: 20.95 kB / 415.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.01945, allocations: 16.5 kB / 415.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01945, allocations: 0 / 415.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Templates: time 0.006629/0.02608, allocations: 1.967 MB / 417.3 MB, free: 8.801 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.3449791967868805]