Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 199.8 kB / 18.05 MB, free: 3.633 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 226.5 MB / 245.3 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001016/0.001016, allocations: 102.9 kB / 297.4 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002383/0.0002383, allocations: 4 kB / 357.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2452, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.00178/0.2471, allocations: 1.179 MB / 409.9 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002958/0.2474, allocations: 92.31 kB / 410 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.354e-05/0.2475, allocations: 9.938 kB / 410 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.2475, allocations: 0 / 410 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.057e-05/0.2476, allocations: 0 / 410 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.2479, allocations: 27.91 kB / 410 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.076e-05/0.248, allocations: 19.94 kB / 410 MB, free: 26.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.2481, allocations: 14.69 kB / 410 MB, free: 26.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.644e-05/0.2482, allocations: 11.94 kB / 410 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.521e-05/0.2482, allocations: 7.984 kB / 410.1 MB, free: 26.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.2482, allocations: 0 / 410.1 MB, free: 26.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.2483, allocations: 0 / 410.1 MB, free: 26.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.2483, allocations: 11.88 kB / 410.1 MB, free: 26.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.2484, allocations: 42.19 kB / 410.1 MB, free: 26.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.723e-05/0.2484, allocations: 15.97 kB / 410.1 MB, free: 26.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.2484, allocations: 4.844 kB / 410.1 MB, free: 26.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.2485, allocations: 0 / 410.1 MB, free: 26.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.2485, allocations: 0.75 kB / 410.1 MB, free: 26.27 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.0003984/0.2489, allocations: 333.4 kB / 410.5 MB, free: 25.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.2489, allocations: 9.281 kB / 410.5 MB, free: 25.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.249, allocations: 0.9375 kB / 410.5 MB, free: 25.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.2492, allocations: 184.2 kB / 410.6 MB, free: 25.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.2492, allocations: 5.25 kB / 410.6 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.2492, allocations: 8.359 kB / 410.7 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.2496, allocations: 119.4 kB / 410.8 MB, free: 25.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2496, allocations: 192 / 410.8 MB, free: 25.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.2496, allocations: 3.938 kB / 410.8 MB, free: 25.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2496, allocations: 1.719 kB / 410.8 MB, free: 25.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.2497, allocations: 19.98 kB / 410.8 MB, free: 25.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/0.2499, allocations: 157.7 kB / 410.9 MB, free: 25.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.2501, allocations: 62.55 kB / 411 MB, free: 25.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/0.2501, allocations: 32.86 kB / 411 MB, free: 25.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.2502, allocations: 0 / 411 MB, free: 25.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.2502, allocations: 34.56 kB / 411.1 MB, free: 25.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2502, allocations: 0 / 411.1 MB, free: 25.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002626/0.2505, allocations: 81.52 kB / 411.2 MB, free: 25.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.911e-05/0.2505, allocations: 51.41 kB / 411.2 MB, free: 25.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.2506, allocations: 105.8 kB / 411.3 MB, free: 24.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.2506, allocations: 25.7 kB / 411.3 MB, free: 24.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.632e-05/0.2506, allocations: 88.14 kB / 411.4 MB, free: 24.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.486e-06/0.2507, allocations: 3.984 kB / 411.4 MB, free: 24.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.2507, allocations: 0 / 411.4 MB, free: 24.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.653e-05/0.2507, allocations: 314.8 kB / 411.7 MB, free: 24.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.2508, allocations: 4 kB / 411.7 MB, free: 24.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.463e-05/0.2508, allocations: 27.38 kB / 411.8 MB, free: 24.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.2508, allocations: 43.36 kB / 411.8 MB, free: 24.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2508, allocations: 0 / 411.8 MB, free: 24.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.227e-05/0.2509, allocations: 49.64 kB / 411.9 MB, free: 24.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.251, allocations: 7.984 kB / 411.9 MB, free: 24.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.251, allocations: 4.062 kB / 411.9 MB, free: 24.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.251, allocations: 11.94 kB / 411.9 MB, free: 24.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.991e-05/0.2511, allocations: 4.281 kB / 411.9 MB, free: 24.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.2511, allocations: 4 kB / 411.9 MB, free: 24.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.2511, allocations: 0 / 411.9 MB, free: 24.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.2511, allocations: 3.938 kB / 411.9 MB, free: 24.27 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: 0 () * 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.803e-05/0.2512, allocations: 117.8 kB / 412 MB, free: 24.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.2512, allocations: 7.906 kB / 412 MB, free: 24.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.2513, allocations: 15.83 kB / 412 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.2513, allocations: 7.984 kB / 412 MB, free: 24.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2513, allocations: 0 / 412 MB, free: 24.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.2513, allocations: 77.11 kB / 412.1 MB, free: 24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.2513, allocations: 4 kB / 412.1 MB, free: 24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.582e-05/0.2514, allocations: 0 / 412.1 MB, free: 24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.2514, allocations: 256 / 412.1 MB, free: 24 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00015/0.2516, allocations: 141 kB / 412.3 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001642/0.2517, allocations: 246.7 kB / 412.5 MB, free: 23.6 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.366e-05/0.2518, allocations: 11.98 kB / 412.5 MB, free: 23.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.643e-05/0.2518, allocations: 87.27 kB / 412.6 MB, free: 23.5 MB / 298.7 MB Notification: Performance of Backend: time 3e-07/0.2519, allocations: 0 / 412.6 MB, free: 23.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004278/0.2523, allocations: 92.98 kB / 412.7 MB, free: 23.41 MB / 298.7 MB Notification: Performance of SimCode: time 0.0003986/0.2527, allocations: 0.5893 MB / 413.3 MB, free: 22.76 MB / 298.7 MB 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:(1) [] 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:(2) [] 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:2: step.simTime (no alias) protected initial: no arrCref index:(3) [] 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:3: step.y (no alias) initial: no arrCref index:(4) [] 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:(5) [] Error: Internal error GetVarIndexListByMapping: No Element for step.height 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.height (no alias) initial: 1.0 no arrCref index:(6) [] Error: Internal error GetVarIndexListByMapping: No Element for step.offset 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.offset (no alias) initial: 0.0 no arrCref index:(7) [] 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:3: step.startTime (no alias) initial: 0.2 no arrCref index:(8) [] 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:(9) [] 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:(10) [] 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.simTime 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.height found! Error: Internal error GetVarIndexListByMapping: No Element for step.offset 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 periodicClock1.solverMethod found!