Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001504/0.001504, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0019/0.0019, allocations: 168.7 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9672/0.9672, allocations: 177.1 MB / 206 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1487/0.1487, allocations: 34.26 MB / 296.9 MB, free: 13.92 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.512e-05, allocations: 2.312 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003164/0.003189, allocations: 1.743 MB / 381.1 MB, free: 21.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.005347, allocations: 1.718 MB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.547e-05/0.005443, allocations: 0 / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.005768, allocations: 47.66 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004275/0.006195, allocations: 95.53 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.006429, allocations: 91.53 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.006613, allocations: 107.6 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.732e-05/0.00671, allocations: 11.98 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.006816, allocations: 55.83 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.006941, allocations: 35.89 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.006961, allocations: 4 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.00714, allocations: 107.8 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.007187, allocations: 15.92 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.007223, allocations: 31.91 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.007483, allocations: 159.5 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.007487, allocations: 0 / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.007487, allocations: 0 / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.007492, allocations: 0 / 383.6 MB, free: 19.09 MB / 314.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.0004087/0.0079, allocations: 459.7 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.007937, allocations: 8.031 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.007984, allocations: 8.891 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.00814, allocations: 153 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.008158, allocations: 384 / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.008179, allocations: 12.31 kB / 384.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.00832, allocations: 107.4 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.008331, allocations: 0 / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.008341, allocations: 7.984 kB / 384.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.008347, allocations: 4 kB / 384.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.536e-05/0.008383, allocations: 11.92 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.008639, allocations: 256.4 kB / 384.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.008739, allocations: 55.11 kB / 384.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.363e-05/0.008763, allocations: 15.67 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.008773, allocations: 7.938 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/0.008879, allocations: 65.05 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.00888, allocations: 0 / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000369/0.009249, allocations: 137.4 kB / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.009276, allocations: 81.11 kB / 384.9 MB, free: 17.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.009395, allocations: 216.7 kB / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.009407, allocations: 25.7 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.009445, allocations: 142.9 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.009472, allocations: 23.84 kB / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.009513, allocations: 31.36 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.76e-05/0.009561, allocations: 0.5 MB / 385.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.009581, allocations: 12.36 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.753e-05/0.009618, allocations: 68.67 kB / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.017e-05/0.009668, allocations: 43.44 kB / 386 MB, free: 16.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.00967, allocations: 4 kB / 386 MB, free: 16.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001249/0.009795, allocations: 85.56 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.00981, allocations: 8 kB / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.009814, allocations: 0 / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.009824, allocations: 3.984 kB / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.34e-05/0.009897, allocations: 16.06 kB / 386.1 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.009901, allocations: 0 / 386.1 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.009946, allocations: 11.89 kB / 386.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.009953, allocations: 8 kB / 386.1 MB, free: 16.29 MB / 314.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 5.939e-05/0.01001, allocations: 168.4 kB / 386.3 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.01004, allocations: 11.95 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.01019, allocations: 94.44 kB / 386.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.0102, allocations: 0 / 386.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.0102, allocations: 7.938 kB / 386.4 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.0102, allocations: 3.938 kB / 386.4 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.01049, allocations: 357.7 kB / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01049, allocations: 0 / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.788e-05/0.01053, allocations: 11.94 kB / 386.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01053, allocations: 0 / 386.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.01054, allocations: 4 kB / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.01054, allocations: 0 / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01054, allocations: 0 / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.01068, allocations: 263.7 kB / 387 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.0107, allocations: 11.94 kB / 387 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.01072, allocations: 0 / 387 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.01079, allocations: 8.031 kB / 387.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.01082, allocations: 7.984 kB / 387.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.01083, allocations: 4 kB / 387.1 MB, free: 15.28 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.49e-05/0.01089, allocations: 158.4 kB / 387.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01089, allocations: 0 / 387.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002959/0.01118, allocations: 55.8 kB / 387.3 MB, free: 15.07 MB / 314.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.00129/0.01247, allocations: 0.5376 MB / 387.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001135/0.01259, allocations: 47.59 kB / 387.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01259, allocations: 0 / 387.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.751e-05/0.01263, allocations: 35.67 kB / 387.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.01292, allocations: 37.66 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.01323, allocations: 203.7 kB / 388.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.235e-05/0.01326, allocations: 63.34 kB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.268e-05/0.01331, allocations: 24.94 kB / 388.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.471e-05/0.0134, allocations: 102.1 kB / 388.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of SimCode: time 7.52e-07/0.0134, allocations: 4.062 kB / 388.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of Templates: time 0.005023/0.01842, allocations: 2.801 MB / 391.1 MB, free: 11.4 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.301857993938029]