Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.001964/0.001964, allocations: 73.41 kB / 19.93 MB, free: 1.773 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.001578/0.001578, allocations: 172.1 kB / 23.22 MB, free: 4.883 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.65/1.65, allocations: 158.6 MB / 185 MB, free: 6.395 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.23/0.23, allocations: 32.38 MB / 269.6 MB, free: 4.66 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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 407.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.413e-05/3.597e-05, allocations: 2.281 kB / 407.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.004061/0.004097, allocations: 1.678 MB / 409.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.005879, allocations: 0.7841 MB / 409.9 MB, free: 460 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.914e-05/0.005958, allocations: 0 / 409.9 MB, free: 460 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.006305, allocations: 39.77 kB / 409.9 MB, free: 420 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.006572, allocations: 55.69 kB / 410 MB, free: 364 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.006847, allocations: 91.7 kB / 410.1 MB, free: 272 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.007049, allocations: 99.62 kB / 410.2 MB, free: 172 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.007148, allocations: 12.11 kB / 410.2 MB, free: 160 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.007265, allocations: 47.89 kB / 410.2 MB, free: 112 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.066e-05/0.007356, allocations: 23.91 kB / 410.3 MB, free: 88 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.007381, allocations: 4 kB / 410.3 MB, free: 84 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.007486, allocations: 51.84 kB / 410.3 MB, free: 32 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.007553, allocations: 23.92 kB / 410.3 MB, free: 8 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.363e-05/0.007627, allocations: 20 kB / 410.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.007868, allocations: 107.6 kB / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.007872, allocations: 4 kB / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007873, allocations: 0 / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.007879, allocations: 0 / 410.5 MB, free: 15.88 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000723/0.008602, allocations: 337.6 kB / 410.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.008658, allocations: 12.03 kB / 410.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.518e-05/0.008723, allocations: 8.891 kB / 410.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.009082, allocations: 151.7 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.009105, allocations: 4.375 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.009135, allocations: 4.312 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.009339, allocations: 58.23 kB / 411 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.009358, allocations: 7.938 kB / 411 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.009371, allocations: 0 / 411 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.009376, allocations: 0 / 411 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.009483, allocations: 23.97 kB / 411.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.00998, allocations: 224.6 kB / 411.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.01019, allocations: 54.61 kB / 411.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.483e-05/0.01027, allocations: 32.72 kB / 411.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.01029, allocations: 0 / 411.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.01049, allocations: 71.39 kB / 411.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.01049, allocations: 4 kB / 411.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007396/0.01123, allocations: 185.3 kB / 411.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/0.01131, allocations: 55.41 kB / 411.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.01154, allocations: 190.2 kB / 411.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.01157, allocations: 29.7 kB / 411.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.43e-05/0.01166, allocations: 100.1 kB / 412 MB, free: 14.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.0117, allocations: 19.86 kB / 412 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.01176, allocations: 25.7 kB / 412 MB, free: 14.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002395/0.012, allocations: 322.8 kB / 412.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.503e-05/0.01208, allocations: 27.98 kB / 412.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.9e-05/0.01217, allocations: 45.58 kB / 412.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.01232, allocations: 57.66 kB / 412.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.01232, allocations: 0 / 412.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000259/0.01258, allocations: 109.5 kB / 412.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.0126, allocations: 4 kB / 412.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.01261, allocations: 4 kB / 412.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.01263, allocations: 0 / 412.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.01274, allocations: 15.98 kB / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.01274, allocations: 4.031 kB / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.398e-05/0.0128, allocations: 7.953 kB / 412.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.01281, allocations: 4 kB / 412.6 MB, free: 13.54 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 (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.0001437/0.01295, allocations: 137.6 kB / 412.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.01298, allocations: 7.953 kB / 412.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/0.0133, allocations: 122.5 kB / 412.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01331, allocations: 4 kB / 412.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.01331, allocations: 0 / 412.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01332, allocations: 0 / 412.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005476/0.01387, allocations: 346.9 kB / 413.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01387, allocations: 0 / 413.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.01391, allocations: 8 kB / 413.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01392, allocations: 4 kB / 413.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.01393, allocations: 0 / 413.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.01394, allocations: 4.359 kB / 413.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01394, allocations: 7.938 kB / 413.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.01427, allocations: 212.2 kB / 413.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.395e-05/0.0143, allocations: 11.95 kB / 413.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.01434, allocations: 12.02 kB / 413.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.01441, allocations: 7.984 kB / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.01447, allocations: 4 kB / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.01449, allocations: 12.36 kB / 413.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001786/0.01467, allocations: 147.1 kB / 413.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01467, allocations: 0 / 413.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002941/0.01497, allocations: 23.98 kB / 413.7 MB, free: 12.41 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 (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.001952/0.01692, allocations: 498.5 kB / 414.2 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.01713, allocations: 55.95 kB / 414.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01714, allocations: 4 kB / 414.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.035e-05/0.01723, allocations: 31.92 kB / 414.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.01759, allocations: 21.7 kB / 414.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006563/0.01825, allocations: 234.6 kB / 414.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.01837, allocations: 96.25 kB / 414.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.694e-05/0.01844, allocations: 16.66 kB / 414.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.0185, allocations: 20.48 kB / 414.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.0185, allocations: 0 / 414.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Templates: time 0.006045/0.02454, allocations: 1.817 MB / 416.4 MB, free: 9.688 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.3047922141849995]