Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003687/0.003687, allocations: 359.1 kB / 15.95 MB, free: 6.207 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.466/4.466, allocations: 388.9 MB / 405.6 MB, free: 9.594 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.003599/0.003599, allocations: 228.2 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.5343/0.5343, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006444/0.0006447, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1415, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4571/0.5987, allocations: 82.9 MB / 0.7611 GB, free: 2.461 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.599, allocations: 82.22 kB / 0.7611 GB, free: 2.418 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/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.0152/0.6142, allocations: 3.623 MB / 0.7647 GB, free: 15.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.746e-06/0.6143, allocations: 0 / 0.7647 GB, free: 15.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.146e-05/0.6143, allocations: 4 kB / 0.7647 GB, free: 15.35 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008853/0.6152, allocations: 0.5227 MB / 0.7652 GB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.6153, allocations: 8.828 kB / 0.7652 GB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.147e-05/0.6154, allocations: 19.77 kB / 0.7652 GB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.6158, allocations: 212.6 kB / 0.7654 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.6158, allocations: 7.188 kB / 0.7654 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.6159, allocations: 8 kB / 0.7654 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.6162, allocations: 84.72 kB / 0.7655 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.6162, allocations: 3.938 kB / 0.7655 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.6163, allocations: 3.812 kB / 0.7655 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.6163, allocations: 7.953 kB / 0.7655 GB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002487/0.6165, allocations: 47.27 kB / 0.7656 GB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000851/0.6174, allocations: 368.8 kB / 0.7659 GB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/0.6179, allocations: 97.05 kB / 0.766 GB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.6182, allocations: 47.59 kB / 0.7661 GB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.6182, allocations: 0 / 0.7661 GB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003115/0.6185, allocations: 89.78 kB / 0.7661 GB, free: 13.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.104e-06/0.6185, allocations: 3.938 kB / 0.7661 GB, free: 13.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000673/0.6192, allocations: 160 kB / 0.7663 GB, free: 13.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.6193, allocations: 55.34 kB / 0.7664 GB, free: 13.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.6195, allocations: 172.5 kB / 0.7665 GB, free: 13.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.6196, allocations: 29.7 kB / 0.7665 GB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.638e-05/0.6197, allocations: 110.5 kB / 0.7666 GB, free: 13.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.6197, allocations: 22.84 kB / 0.7667 GB, free: 13.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/0.6198, allocations: 0 / 0.7667 GB, free: 13.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.6199, allocations: 329.5 kB / 0.767 GB, free: 12.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.6201, allocations: 45.78 kB / 0.767 GB, free: 12.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.6203, allocations: 64.3 kB / 0.7671 GB, free: 12.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.6206, allocations: 94.23 kB / 0.7672 GB, free: 12.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.6206, allocations: 0 / 0.7672 GB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005833/0.6212, allocations: 201.2 kB / 0.7674 GB, free: 12.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.041e-05/0.6213, allocations: 41 kB / 0.7674 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.6213, allocations: 0 / 0.7674 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.6214, allocations: 7.938 kB / 0.7674 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.6216, allocations: 27.91 kB / 0.7674 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.6216, allocations: 4.062 kB / 0.7674 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.6217, allocations: 15.84 kB / 0.7675 GB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.6218, allocations: 11.75 kB / 0.7675 GB, free: 12.49 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001718/0.622, allocations: 128.7 kB / 0.7676 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.622, allocations: 15.86 kB / 0.7676 GB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004857/0.6225, allocations: 135.9 kB / 0.7677 GB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.6225, allocations: 0 / 0.7677 GB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.6225, allocations: 0 / 0.7677 GB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.6226, allocations: 0.5625 kB / 0.7677 GB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.6228, allocations: 216.8 kB / 0.7679 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6228, allocations: 0 / 0.7679 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.623, allocations: 19.92 kB / 0.768 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.623, allocations: 7.953 kB / 0.768 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.6231, allocations: 3.25 kB / 0.768 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.6231, allocations: 3.938 kB / 0.768 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6231, allocations: 0 / 0.768 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000648/0.6237, allocations: 195.5 kB / 0.7682 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.6239, allocations: 100.3 kB / 0.7683 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.6239, allocations: 11.64 kB / 0.7683 GB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.6241, allocations: 16.05 kB / 0.7683 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.6241, allocations: 4 kB / 0.7683 GB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.6242, allocations: 7.297 kB / 0.7683 GB, free: 11.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001743/0.6243, allocations: 126.1 kB / 0.7684 GB, free: 11.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6244, allocations: 0 / 0.7684 GB, free: 11.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003723/0.6247, allocations: 39.19 kB / 0.7685 GB, free: 11.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001308/0.6261, allocations: 397.4 kB / 0.7688 GB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006283/0.6267, allocations: 190.8 kB / 0.769 GB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6267, allocations: 4.125 kB / 0.769 GB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.6269, allocations: 43.28 kB / 0.7691 GB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.6274, allocations: 30.48 kB / 0.7691 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007828/0.6282, allocations: 291.7 kB / 0.7694 GB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.6286, allocations: 0.7082 MB / 0.7701 GB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.6287, allocations: 16.55 kB / 0.7701 GB, free: 10 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.6288, allocations: 18.56 kB / 0.7701 GB, free: 9.984 MB / 362.7 MB Notification: Performance of SimCode: time 8.065e-06/0.6288, allocations: 0 / 0.7701 GB, free: 9.984 MB / 362.7 MB Notification: Performance of Templates: time 0.007293/0.6361, allocations: 1.792 MB / 0.7718 GB, free: 8.215 MB / 362.7 MB