Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001227/0.001227, allocations: 182.4 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.329/1.329, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.0007302/0.0007302, allocations: 92.94 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06071/0.06071, allocations: 12.2 MB / 332.4 MB, free: 11.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003779, allocations: 16 kB / 392.8 MB, free: 67.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0646/0.06499, allocations: 50.3 MB / 443.1 MB, free: 16.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001197/0.06622, allocations: 1.141 MB / 444.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002123/0.06646, allocations: 95.78 kB / 444.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.234e-05/0.06652, allocations: 0 / 444.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/0.06655, allocations: 3.938 kB / 444.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.543e-05/0.06659, allocations: 4 kB / 444.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.0668, allocations: 19.97 kB / 444.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.442e-05/0.06687, allocations: 27.86 kB / 444.3 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.478e-05/0.06697, allocations: 7.984 kB / 444.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.377e-05/0.06701, allocations: 4 kB / 444.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.836e-05/0.06705, allocations: 19.91 kB / 444.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.06707, allocations: 0 / 444.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-06/0.06708, allocations: 0 / 444.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.0671, allocations: 4 kB / 444.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.06714, allocations: 41.58 kB / 444.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.45e-05/0.06719, allocations: 15.97 kB / 444.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.0672, allocations: 0 / 444.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.0672, allocations: 0 / 444.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.06721, allocations: 0 / 444.4 MB, free: 15.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.0002789/0.0675, allocations: 343.7 kB / 444.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.06754, allocations: 8.031 kB / 444.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.06758, allocations: 12.78 kB / 444.8 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.0677, allocations: 172.4 kB / 445 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.06772, allocations: 8.312 kB / 445 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-06/0.06774, allocations: 4.375 kB / 445 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.06801, allocations: 111.9 kB / 445.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.06803, allocations: 192 / 445.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.06804, allocations: 7.938 kB / 445.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.06805, allocations: 0 / 445.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.681e-05/0.06814, allocations: 23.92 kB / 445.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.954e-05/0.06823, allocations: 161.6 kB / 445.3 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.06837, allocations: 58.59 kB / 445.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.06844, allocations: 28.89 kB / 445.4 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.06846, allocations: 0 / 445.4 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.076e-05/0.06848, allocations: 30.56 kB / 445.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.06848, allocations: 0 / 445.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001956/0.06868, allocations: 89.53 kB / 445.5 MB, free: 14.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.258e-05/0.06871, allocations: 51.41 kB / 445.5 MB, free: 14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5e-05/0.06876, allocations: 101.9 kB / 445.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/0.06878, allocations: 25.7 kB / 445.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.794e-05/0.0688, allocations: 88.12 kB / 445.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.659e-06/0.06881, allocations: 0 / 445.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-06/0.06882, allocations: 4 kB / 445.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.494e-05/0.06886, allocations: 314.8 kB / 446 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.317e-06/0.06887, allocations: 4 kB / 446 MB, free: 13.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.747e-05/0.0689, allocations: 27.42 kB / 446.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.111e-05/0.06893, allocations: 39.38 kB / 446.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.06894, allocations: 0 / 446.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.433e-05/0.06901, allocations: 61.47 kB / 446.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.06903, allocations: 4 kB / 446.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.06904, allocations: 4 kB / 446.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.06906, allocations: 4.188 kB / 446.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.569e-05/0.06911, allocations: 8 kB / 446.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.06912, allocations: 4 kB / 446.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.06914, allocations: 4.062 kB / 446.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.06915, allocations: 8 kB / 446.2 MB, free: 13.25 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 4.599e-05/0.0692, allocations: 113.6 kB / 446.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-06/0.06922, allocations: 11.92 kB / 446.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.06925, allocations: 11.84 kB / 446.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.06925, allocations: 288 / 446.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.06926, allocations: 0 / 446.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.06928, allocations: 89 kB / 446.4 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.0693, allocations: 0 / 446.4 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.201e-05/0.06933, allocations: 8 kB / 446.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-06/0.06935, allocations: 0 / 446.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001208/0.06948, allocations: 148.8 kB / 446.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001218/0.06961, allocations: 234.8 kB / 446.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.249e-05/0.06966, allocations: 15.98 kB / 446.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.128e-05/0.06969, allocations: 87.27 kB / 446.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of Backend: time 2e-07/0.06969, allocations: 0 / 446.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.06998, allocations: 82.34 kB / 447 MB, free: 12.4 MB / 298.7 MB Notification: Performance of SimCode: time 0.0002658/0.07025, allocations: 0.5897 MB / 447.6 MB, free: 11.75 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 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:(7) [] 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:(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 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 step.height found! Error: Internal error GetVarIndexListByMapping: No Element for step.offset found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.useSolver found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.solverMethod found!