Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 205.8 kB / 18.05 MB, free: 3.648 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 226.5 MB / 245.3 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000791/0.0007909, allocations: 107.6 kB / 297.4 MB, free: 6.879 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002454/0.0002454, allocations: 4 kB / 357.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2383, allocations: 51.3 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.001521/0.2399, allocations: 1.21 MB / 409.9 MB, free: 26.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000312/0.2402, allocations: 136.3 kB / 410 MB, free: 26.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.291e-05/0.2403, allocations: 4.781 kB / 410 MB, free: 26.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.161e-05/0.2403, allocations: 3.938 kB / 410 MB, free: 26.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.2405, allocations: 8.828 kB / 410.1 MB, free: 26.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.2407, allocations: 31.91 kB / 410.1 MB, free: 26.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.59e-05/0.2408, allocations: 29.7 kB / 410.1 MB, free: 26.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.241, allocations: 12 kB / 410.1 MB, free: 26.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.09e-05/0.241, allocations: 7.938 kB / 410.1 MB, free: 26.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.585e-05/0.241, allocations: 15.42 kB / 410.1 MB, free: 26.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.2411, allocations: 0 / 410.1 MB, free: 26.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.139e-05/0.2411, allocations: 0 / 410.1 MB, free: 26.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.857e-05/0.2411, allocations: 11.94 kB / 410.2 MB, free: 26.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.965e-05/0.2412, allocations: 45.56 kB / 410.2 MB, free: 26.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.635e-05/0.2412, allocations: 27.94 kB / 410.2 MB, free: 26.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.505e-06/0.2413, allocations: 0 / 410.2 MB, free: 26.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.2413, allocations: 4 kB / 410.2 MB, free: 26.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.2413, allocations: 0 / 410.2 MB, free: 26.15 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003909/0.2417, allocations: 360.9 kB / 410.6 MB, free: 25.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.2417, allocations: 9.625 kB / 410.6 MB, free: 25.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.2418, allocations: 8.844 kB / 410.6 MB, free: 25.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.2419, allocations: 185.1 kB / 410.8 MB, free: 25.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.242, allocations: 4.375 kB / 410.8 MB, free: 25.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.242, allocations: 1.125 kB / 410.8 MB, free: 25.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.2422, allocations: 121.9 kB / 410.9 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.2422, allocations: 4.188 kB / 410.9 MB, free: 25.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.2423, allocations: 3.938 kB / 410.9 MB, free: 25.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2423, allocations: 3.938 kB / 410.9 MB, free: 25.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.87e-05/0.2423, allocations: 19.97 kB / 410.9 MB, free: 25.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.2426, allocations: 262.7 kB / 411.2 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.2428, allocations: 138.2 kB / 411.3 MB, free: 24.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.886e-05/0.2428, allocations: 25.78 kB / 411.4 MB, free: 24.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.2428, allocations: 4 kB / 411.4 MB, free: 24.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.2429, allocations: 38.55 kB / 411.4 MB, free: 24.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.2429, allocations: 0 / 411.4 MB, free: 24.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002071/0.2431, allocations: 73.53 kB / 411.5 MB, free: 24.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.2431, allocations: 77.11 kB / 411.5 MB, free: 24.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.25e-05/0.2432, allocations: 132.5 kB / 411.7 MB, free: 24.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.2432, allocations: 33.7 kB / 411.7 MB, free: 24.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.2433, allocations: 92.12 kB / 411.8 MB, free: 24.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.255e-06/0.2433, allocations: 4 kB / 411.8 MB, free: 24.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.2433, allocations: 0 / 411.8 MB, free: 24.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.983e-05/0.2433, allocations: 310.8 kB / 412.1 MB, free: 24.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.973e-05/0.2434, allocations: 11.98 kB / 412.1 MB, free: 24.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.798e-05/0.2434, allocations: 27.44 kB / 412.1 MB, free: 23.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.507e-05/0.2435, allocations: 47.36 kB / 412.2 MB, free: 23.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2435, allocations: 3.938 kB / 412.2 MB, free: 23.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.157e-05/0.2436, allocations: 73.5 kB / 412.3 MB, free: 23.83 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2436, allocations: 8 kB / 412.3 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.2436, allocations: 0 / 412.3 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2436, allocations: 0 / 412.3 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.083e-05/0.2436, allocations: 4 kB / 412.3 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.2436, allocations: 3.938 kB / 412.3 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.022e-05/0.2437, allocations: 4 kB / 412.3 MB, free: 23.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.2437, allocations: 0 / 412.3 MB, free: 23.81 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: 4 (sample1.y,assignClock.y,assignClock.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.124e-05/0.2438, allocations: 125.9 kB / 412.4 MB, free: 23.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.2438, allocations: 7.844 kB / 412.4 MB, free: 23.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.2438, allocations: 11.91 kB / 412.4 MB, free: 23.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2438, allocations: 0 / 412.4 MB, free: 23.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2439, allocations: 4 kB / 412.4 MB, free: 23.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.2439, allocations: 93.03 kB / 412.5 MB, free: 23.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.2439, allocations: 3.984 kB / 412.5 MB, free: 23.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.244, allocations: 4 kB / 412.5 MB, free: 23.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.244, allocations: 4 kB / 412.5 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001226/0.2442, allocations: 220.1 kB / 412.8 MB, free: 23.3 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001303/0.2443, allocations: 306 kB / 413.1 MB, free: 22.98 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.469e-05/0.2443, allocations: 24.33 kB / 413.1 MB, free: 22.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.894e-05/0.2444, allocations: 95.27 kB / 413.2 MB, free: 22.87 MB / 298.7 MB Notification: Performance of Backend: time 1.81e-07/0.2444, allocations: 0 / 413.2 MB, free: 22.87 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003802/0.2448, allocations: 96.78 kB / 413.3 MB, free: 22.77 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004797/0.2453, allocations: 0.6365 MB / 413.9 MB, free: 22.08 MB / 298.7 MB 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:0: step.startTime (no alias) initial: 0.1 no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for periodicClock.factor 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: periodicClock.factor (no alias) initial: 20 no arrCref index:(2) [] Error: Internal error GetVarIndexListByMapping: No Element for periodicClock.resolution 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: periodicClock.resolution (no alias) initial: Modelica.Clocked.Types.Resolution.ms no arrCref index:(3) [] Error: Internal error GetVarIndexListByMapping: No Element for periodicClock.resolutionFactor 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: periodicClock.resolutionFactor (no alias) protected initial: 1000 no arrCref index:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for assignClock.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: assignClock.u (no alias) initial: no arrCref index:(5) [] Error: Internal error GetVarIndexListByMapping: No Element for assignClock.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: assignClock.y (no alias) initial: no arrCref index:(6) [] Error: Internal error GetVarIndexListByMapping: No Element for sample1.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: sample1.y (no alias) initial: no arrCref index:(7) [] 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:(8) [] Error: Internal error GetVarIndexListByMapping: No Element for periodicClock.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: periodicClock.useSolver (no alias) initial: false no arrCref index:(9) [] 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:(10) [] 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:(8) [] Error: Internal error GetVarIndexListByMapping: No Element for periodicClock.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: periodicClock.solverMethod (no alias) initial: "ExplicitEuler" no arrCref index:(12) [] Error: Internal error GetVarIndexListByMapping: No Element for assignClock.u found! Error: Internal error GetVarIndexListByMapping: No Element for assignClock.y found! Error: Internal error GetVarIndexListByMapping: No Element for sample1.y found! Error: Internal error GetVarIndexListByMapping: No Element for step.y found! Error: Internal error GetVarIndexListByMapping: No Element for step.startTime found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock.factor found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock.resolution found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock.resolutionFactor found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock.useSolver found! Error: Internal error GetVarIndexListByMapping: No Element for step.startValue found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock.solverMethod found! Error: Internal error GetVarIndexListByMapping: No Element for sample1.u found!