Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00133/0.00133, allocations: 182.3 kB / 17.44 MB, free: 4.379 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.286/1.286, allocations: 205.4 MB / 223.6 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000756/0.000756, allocations: 88.97 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06089/0.06089, allocations: 12.2 MB / 332.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003739, allocations: 19.98 kB / 392.8 MB, free: 67.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06543/0.06581, allocations: 50.29 MB / 443 MB, free: 16.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001088/0.06693, allocations: 1.141 MB / 444.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001354/0.06708, allocations: 31.91 kB / 444.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.468e-05/0.06714, allocations: 0 / 444.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.284e-05/0.06716, allocations: 3.938 kB / 444.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.177e-05/0.0672, allocations: 0 / 444.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.0674, allocations: 27.97 kB / 444.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.795e-05/0.06746, allocations: 27.92 kB / 444.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.791e-05/0.06755, allocations: 4 kB / 444.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.798e-05/0.06758, allocations: 11.94 kB / 444.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.809e-05/0.06763, allocations: 15.92 kB / 444.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.06764, allocations: 0 / 444.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-06/0.06766, allocations: 0 / 444.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.06768, allocations: 7.984 kB / 444.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.06771, allocations: 33.64 kB / 444.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.603e-05/0.06776, allocations: 19.95 kB / 444.4 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.06777, allocations: 4 kB / 444.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.06778, allocations: 0 / 444.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.06778, allocations: 0 / 444.4 MB, free: 15.32 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.0002682/0.06806, allocations: 335.7 kB / 444.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.0681, allocations: 19.91 kB / 444.7 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.06813, allocations: 8.844 kB / 444.7 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.06824, allocations: 172.4 kB / 444.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.06827, allocations: 4.375 kB / 444.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.06828, allocations: 4.375 kB / 444.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.06857, allocations: 123.8 kB / 445 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.06859, allocations: 192 / 445 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.0686, allocations: 7.938 kB / 445 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.06861, allocations: 0 / 445 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.06872, allocations: 35.89 kB / 445.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.112e-05/0.06881, allocations: 161.6 kB / 445.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.06894, allocations: 54.59 kB / 445.3 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.515e-05/0.06901, allocations: 28.88 kB / 445.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.06903, allocations: 0 / 445.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.016e-05/0.06905, allocations: 34.56 kB / 445.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.06906, allocations: 0 / 445.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002419/0.0693, allocations: 89.53 kB / 445.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.27e-05/0.06933, allocations: 51.41 kB / 445.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.833e-05/0.06938, allocations: 105.8 kB / 445.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.06939, allocations: 29.7 kB / 445.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.619e-05/0.06941, allocations: 80.14 kB / 445.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.208e-06/0.06942, allocations: 0 / 445.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-06/0.06943, allocations: 7.938 kB / 445.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.434e-05/0.06947, allocations: 318.8 kB / 446 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-06/0.06949, allocations: 3.984 kB / 446 MB, free: 13.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.647e-05/0.06951, allocations: 27.44 kB / 446 MB, free: 13.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.723e-05/0.06954, allocations: 35.38 kB / 446.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.06955, allocations: 0 / 446.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.882e-05/0.06961, allocations: 57.62 kB / 446.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.06963, allocations: 4 kB / 446.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.06964, allocations: 3.938 kB / 446.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.06965, allocations: 7.938 kB / 446.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.551e-05/0.0697, allocations: 4 kB / 446.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.06971, allocations: 12.06 kB / 446.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.06974, allocations: 3.906 kB / 446.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.06974, allocations: 4.234 kB / 446.2 MB, free: 13.28 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 (step.counter,step.y,assignClock1.y,assignClock1.u) * 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 4.255e-05/0.06979, allocations: 118.5 kB / 446.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.06981, allocations: 4 kB / 446.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.695e-05/0.06983, allocations: 7.844 kB / 446.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.06983, allocations: 0 / 446.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.06984, allocations: 4 kB / 446.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.06986, allocations: 77.11 kB / 446.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.06988, allocations: 12 kB / 446.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.723e-05/0.06992, allocations: 7.984 kB / 446.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-06/0.06993, allocations: 0 / 446.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001533/0.07009, allocations: 144.9 kB / 446.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001486/0.07025, allocations: 239 kB / 446.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.55e-05/0.07031, allocations: 24.02 kB / 446.8 MB, free: 12.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.93e-05/0.07034, allocations: 91.27 kB / 446.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of Backend: time 2.6e-07/0.07034, allocations: 0 / 446.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002535/0.0706, allocations: 86.34 kB / 447 MB, free: 12.42 MB / 298.7 MB Notification: Performance of SimCode: time 0.0002898/0.0709, allocations: 0.5856 MB / 447.6 MB, free: 11.77 MB / 298.7 MB 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:(1) [] 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:(2) [] 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:(3) [] Error: Internal error GetVarIndexListByMapping: No Element for step.counter 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.counter (no alias) protected initial: 0 no arrCref index:(4) [] 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:(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:0: step.height (no alias) initial: 3 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:1: step.offset (no alias) initial: 1 no arrCref index:(7) [] Error: Internal error GetVarIndexListByMapping: No Element for step.startTick 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.startTick (no alias) initial: 3 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.counter 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.startTick found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.useSolver found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.solverMethod found!