Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 202.3 kB / 18.05 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 226.5 MB / 245.3 MB, free: 8.066 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008764/0.0008764, allocations: 103 kB / 297.4 MB, free: 6.863 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002567/0.0002567, allocations: 8 kB / 357.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2655, allocations: 51.29 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001722/0.2673, allocations: 1.144 MB / 409.8 MB, free: 26.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002655/0.2676, allocations: 87.78 kB / 409.9 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.4e-05/0.2676, allocations: 0 / 409.9 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.2677, allocations: 8.469 kB / 409.9 MB, free: 26.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.151e-05/0.2677, allocations: 3.984 kB / 409.9 MB, free: 26.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.268, allocations: 18.77 kB / 410 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.638e-05/0.2681, allocations: 27.86 kB / 410 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.2683, allocations: 11.98 kB / 410 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.969e-05/0.2683, allocations: 4 kB / 410 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.396e-05/0.2683, allocations: 7.922 kB / 410 MB, free: 26.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.2684, allocations: 4 kB / 410 MB, free: 26.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.2684, allocations: 1.875 kB / 410 MB, free: 26.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.2684, allocations: 4 kB / 410 MB, free: 26.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.2685, allocations: 33.64 kB / 410 MB, free: 26.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.992e-05/0.2685, allocations: 15.97 kB / 410.1 MB, free: 26.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2685, allocations: 3.938 kB / 410.1 MB, free: 26.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2686, allocations: 0.9375 kB / 410.1 MB, free: 26.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.2686, allocations: 0 / 410.1 MB, free: 26.31 MB / 298.7 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.0003712/0.2689, allocations: 333.7 kB / 410.4 MB, free: 25.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.269, allocations: 15.95 kB / 410.4 MB, free: 25.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.2691, allocations: 2.906 kB / 410.4 MB, free: 25.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.2692, allocations: 188.2 kB / 410.6 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.2693, allocations: 4.375 kB / 410.6 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.2693, allocations: 384 / 410.6 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.2696, allocations: 103.1 kB / 410.7 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2697, allocations: 192 / 410.7 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.2697, allocations: 3.938 kB / 410.7 MB, free: 25.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2697, allocations: 3.984 kB / 410.7 MB, free: 25.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.492e-05/0.2698, allocations: 20 kB / 410.7 MB, free: 25.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.2699, allocations: 157.6 kB / 410.9 MB, free: 25.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.2701, allocations: 58.5 kB / 410.9 MB, free: 25.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.834e-05/0.2702, allocations: 16.89 kB / 411 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.2702, allocations: 48 / 411 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.2703, allocations: 42.55 kB / 411 MB, free: 25.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.2703, allocations: 0 / 411 MB, free: 25.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002362/0.2705, allocations: 69.56 kB / 411.1 MB, free: 25.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.2706, allocations: 51.41 kB / 411.1 MB, free: 25.08 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.441e-05/0.2706, allocations: 105.8 kB / 411.2 MB, free: 24.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.2707, allocations: 25.7 kB / 411.2 MB, free: 24.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.283e-05/0.2707, allocations: 92.14 kB / 411.3 MB, free: 24.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/0.2707, allocations: 0 / 411.3 MB, free: 24.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.2707, allocations: 0 / 411.3 MB, free: 24.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.2708, allocations: 314.8 kB / 411.6 MB, free: 24.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.2708, allocations: 8 kB / 411.6 MB, free: 24.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.89e-05/0.2708, allocations: 23.44 kB / 411.7 MB, free: 24.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.481e-05/0.2709, allocations: 35.38 kB / 411.7 MB, free: 24.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2709, allocations: 4 kB / 411.7 MB, free: 24.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.774e-05/0.271, allocations: 49.62 kB / 411.8 MB, free: 24.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2711, allocations: 8 kB / 411.8 MB, free: 24.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2711, allocations: 0 / 411.8 MB, free: 24.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2711, allocations: 8.062 kB / 411.8 MB, free: 24.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.807e-05/0.2712, allocations: 7.938 kB / 411.8 MB, free: 24.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.2712, allocations: 3.984 kB / 411.8 MB, free: 24.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.3e-05/0.2712, allocations: 7.938 kB / 411.8 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.2712, allocations: 0 / 411.8 MB, free: 24.34 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 6.511e-05/0.2713, allocations: 113.8 kB / 411.9 MB, free: 24.22 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.2713, allocations: 0 / 411.9 MB, free: 24.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.2714, allocations: 19.38 kB / 411.9 MB, free: 24.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2714, allocations: 0 / 411.9 MB, free: 24.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2714, allocations: 4 kB / 411.9 MB, free: 24.19 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/0.2714, allocations: 81.02 kB / 412 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.2715, allocations: 3.984 kB / 412 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.754e-05/0.2715, allocations: 4 kB / 412 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-06/0.2715, allocations: 0 / 412 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001648/0.2717, allocations: 132.9 kB / 412.1 MB, free: 23.95 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001754/0.2719, allocations: 234.8 kB / 412.4 MB, free: 23.7 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.562e-05/0.272, allocations: 12.36 kB / 412.4 MB, free: 23.69 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.467e-05/0.272, allocations: 87.53 kB / 412.5 MB, free: 23.61 MB / 298.7 MB Notification: Performance of Backend: time 6.21e-07/0.272, allocations: 0 / 412.5 MB, free: 23.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005411/0.2726, allocations: 96.55 kB / 412.6 MB, free: 23.51 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004338/0.273, allocations: 0.5861 MB / 413.2 MB, free: 22.86 MB / 298.7 MB Error: Internal error GetVarIndexListByMapping: No Element for step.simTime found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: step.simTime (no alias) protected initial: no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.period found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: periodicClock1.period (no alias) initial: 0.1 no arrCref index:(2) [] Error: Internal error GetVarIndexListByMapping: No Element for step.startTime found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: step.startTime (no alias) initial: 0.2 no arrCref index:(3) [] Error: Internal error GetVarIndexListByMapping: No Element for assignClock1.u found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: assignClock1.u (no alias) initial: no arrCref index:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for assignClock1.y found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: assignClock1.y (no alias) initial: no arrCref index:(5) [] Error: Internal error GetVarIndexListByMapping: No Element for step.y found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:2: step.y (no alias) initial: no arrCref index:(6) [] Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.useSolver found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: periodicClock1.useSolver (no alias) initial: false no arrCref index:(7) [] Error: Internal error GetVarIndexListByMapping: No Element for step.startValue found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:1: step.startValue (no alias) initial: false no arrCref index:(8) [] Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.solverMethod found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14198:9-14198:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:0: periodicClock1.solverMethod (no alias) initial: "ExplicitEuler" no arrCref index:(9) [] Error: Internal error GetVarIndexListByMapping: No Element for step.simTime found! Error: Internal error GetVarIndexListByMapping: No Element for assignClock1.u found! Error: Internal error GetVarIndexListByMapping: No Element for assignClock1.y found! Error: Internal error GetVarIndexListByMapping: No Element for step.y found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.period found! Error: Internal error GetVarIndexListByMapping: No Element for step.startTime found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.useSolver found! Error: Internal error GetVarIndexListByMapping: No Element for step.startValue found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.solverMethod found!