Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005576/0.005581, allocations: 362.6 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.45/4.45, allocations: 388.9 MB / 405.6 MB, free: 9.582 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003461/0.003461, allocations: 232.4 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.576/0.576, allocations: 80.03 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007892/0.0007897, allocations: 15.25 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1432, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5527/0.696, allocations: 81.98 MB / 0.7602 GB, free: 3.309 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/0.6964, allocations: 78.02 kB / 0.7602 GB, free: 3.27 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01939/0.7158, allocations: 4.426 MB / 0.7645 GB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.7158, allocations: 0 / 0.7645 GB, free: 15.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.7158, allocations: 4 kB / 0.7646 GB, free: 15.52 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007186/0.7166, allocations: 464.5 kB / 0.765 GB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.7166, allocations: 12.83 kB / 0.765 GB, free: 15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.042e-05/0.7167, allocations: 7.906 kB / 0.765 GB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.7171, allocations: 201 kB / 0.7652 GB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.7172, allocations: 11.92 kB / 0.7652 GB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.7172, allocations: 4 kB / 0.7652 GB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.7174, allocations: 52.23 kB / 0.7653 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.7174, allocations: 8 kB / 0.7653 GB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.7175, allocations: 3.953 kB / 0.7653 GB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.7175, allocations: 0 / 0.7653 GB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.7176, allocations: 15.55 kB / 0.7653 GB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.7179, allocations: 194.7 kB / 0.7655 GB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.7182, allocations: 57.17 kB / 0.7655 GB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.559e-05/0.7183, allocations: 24.03 kB / 0.7656 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.7183, allocations: 7.984 kB / 0.7656 GB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/0.7186, allocations: 62.39 kB / 0.7656 GB, free: 14.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 2.444e-06/0.7186, allocations: 0 / 0.7656 GB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004521/0.7191, allocations: 107 kB / 0.7657 GB, free: 14.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.7192, allocations: 55.41 kB / 0.7658 GB, free: 14.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.7195, allocations: 186.5 kB / 0.766 GB, free: 13.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.7195, allocations: 29.52 kB / 0.766 GB, free: 13.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.4e-05/0.7196, allocations: 91.08 kB / 0.7661 GB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.7196, allocations: 18.58 kB / 0.7661 GB, free: 13.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/0.7197, allocations: 0 / 0.7661 GB, free: 13.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.7198, allocations: 328.5 kB / 0.7664 GB, free: 13.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.72, allocations: 30.36 kB / 0.7664 GB, free: 13.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.7201, allocations: 45.64 kB / 0.7665 GB, free: 13.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.7203, allocations: 70.06 kB / 0.7665 GB, free: 13.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.7203, allocations: 0 / 0.7665 GB, free: 13.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004389/0.7208, allocations: 155.3 kB / 0.7667 GB, free: 13.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.003e-05/0.7208, allocations: 41.12 kB / 0.7667 GB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.7209, allocations: 0 / 0.7667 GB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.7209, allocations: 0 / 0.7667 GB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.721, allocations: 11.94 kB / 0.7667 GB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.7211, allocations: 7.953 kB / 0.7668 GB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.7212, allocations: 12.33 kB / 0.7668 GB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.7212, allocations: 4 kB / 0.7668 GB, free: 13.18 MB / 362.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.7214, allocations: 132.3 kB / 0.7669 GB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.7214, allocations: 11.81 kB / 0.7669 GB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.7218, allocations: 99.66 kB / 0.767 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.7218, allocations: 0 / 0.767 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.7218, allocations: 0 / 0.767 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-06/0.7218, allocations: 3.953 kB / 0.767 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.7221, allocations: 195.7 kB / 0.7672 GB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.7221, allocations: 4 kB / 0.7672 GB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.937e-05/0.7221, allocations: 4 kB / 0.7672 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.7222, allocations: 0 / 0.7672 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.7222, allocations: 4 kB / 0.7672 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.7222, allocations: 0 / 0.7672 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7222, allocations: 0 / 0.7672 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.7225, allocations: 114.9 kB / 0.7673 GB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.922e-05/0.7226, allocations: 93 kB / 0.7674 GB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.7227, allocations: 10.86 kB / 0.7674 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.846e-05/0.7228, allocations: 4 kB / 0.7674 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.7228, allocations: 0 / 0.7674 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.7229, allocations: 4 kB / 0.7674 GB, free: 12.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001765/0.723, allocations: 142.6 kB / 0.7676 GB, free: 12.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.364e-06/0.7231, allocations: 3.938 kB / 0.7676 GB, free: 12.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003575/0.7234, allocations: 31.38 kB / 0.7676 GB, free: 12.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001192/0.7246, allocations: 392.5 kB / 0.768 GB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004257/0.7251, allocations: 152.8 kB / 0.7681 GB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.7251, allocations: 3.938 kB / 0.7681 GB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.7252, allocations: 26.88 kB / 0.7681 GB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.7256, allocations: 23.34 kB / 0.7682 GB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006011/0.7262, allocations: 215 kB / 0.7684 GB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.7266, allocations: 0.7043 MB / 0.7691 GB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.831e-05/0.7267, allocations: 19.38 kB / 0.7691 GB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.7267, allocations: 11.44 kB / 0.7691 GB, free: 10.92 MB / 362.7 MB Notification: Performance of SimCode: time 9.81e-07/0.7268, allocations: 0 / 0.7691 GB, free: 10.92 MB / 362.7 MB Notification: Performance of Templates: time 0.006244/0.733, allocations: 1.503 MB / 0.7705 GB, free: 9.445 MB / 362.7 MB