Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001449/0.001449, allocations: 198.4 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 226.5 MB / 245.3 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009298/0.0009297, allocations: 100.5 kB / 297.4 MB, free: 6.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002196/0.0002198, allocations: 8 kB / 357.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2261, allocations: 51.3 MB / 408.7 MB, free: 27.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.001711/0.2278, allocations: 1.265 MB / 409.9 MB, free: 26.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007682/0.2286, allocations: 0.497 MB / 410.4 MB, free: 25.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.797e-05/0.2287, allocations: 3.938 kB / 410.4 MB, free: 25.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.2287, allocations: 4 kB / 410.5 MB, free: 25.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.2289, allocations: 8.547 kB / 410.5 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.2291, allocations: 39.91 kB / 410.5 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.157e-05/0.2292, allocations: 48.58 kB / 410.5 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.98e-05/0.2293, allocations: 17.72 kB / 410.6 MB, free: 25.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.2294, allocations: 23.92 kB / 410.6 MB, free: 25.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.267e-05/0.2295, allocations: 9.875 kB / 410.6 MB, free: 25.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.2295, allocations: 4 kB / 410.6 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.938e-05/0.2296, allocations: 7.984 kB / 410.6 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.596e-05/0.2296, allocations: 15.92 kB / 410.6 MB, free: 25.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.2297, allocations: 49.5 kB / 410.7 MB, free: 25.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.79e-05/0.2297, allocations: 40.42 kB / 410.7 MB, free: 25.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2298, allocations: 0 / 410.7 MB, free: 25.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2298, allocations: 0.75 kB / 410.7 MB, free: 25.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.2298, allocations: 0 / 410.7 MB, free: 25.71 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003995/0.2302, allocations: 365.8 kB / 411.1 MB, free: 25.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2302, allocations: 8.031 kB / 411.1 MB, free: 25.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.2304, allocations: 22.17 kB / 411.1 MB, free: 25.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.2305, allocations: 190.6 kB / 411.3 MB, free: 25.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.2306, allocations: 12.31 kB / 411.3 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.2306, allocations: 8.312 kB / 411.3 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.2308, allocations: 109.3 kB / 411.4 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2308, allocations: 0 / 411.4 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.2308, allocations: 0 / 411.4 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2309, allocations: 4 kB / 411.4 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.122e-05/0.2309, allocations: 23.98 kB / 411.4 MB, free: 24.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.2312, allocations: 265.7 kB / 411.7 MB, free: 24.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.861e-05/0.2313, allocations: 49.14 kB / 411.7 MB, free: 24.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.481e-05/0.2313, allocations: 25.78 kB / 411.8 MB, free: 24.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.2313, allocations: 0 / 411.8 MB, free: 24.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.28e-05/0.2313, allocations: 34.5 kB / 411.8 MB, free: 24.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.2314, allocations: 0 / 411.8 MB, free: 24.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002221/0.2316, allocations: 73.58 kB / 411.9 MB, free: 24.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.2316, allocations: 89.05 kB / 412 MB, free: 24.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.046e-05/0.2317, allocations: 138.1 kB / 412.1 MB, free: 24.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.2317, allocations: 25.7 kB / 412.1 MB, free: 24.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.852e-05/0.2318, allocations: 88.33 kB / 412.2 MB, free: 23.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.2318, allocations: 4 kB / 412.2 MB, free: 23.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-06/0.2318, allocations: 4 kB / 412.2 MB, free: 23.97 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.456e-05/0.2318, allocations: 318.8 kB / 412.5 MB, free: 23.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.664e-05/0.2319, allocations: 8 kB / 412.5 MB, free: 23.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.2319, allocations: 25.7 kB / 412.6 MB, free: 23.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.707e-05/0.232, allocations: 29.77 kB / 412.6 MB, free: 23.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.232, allocations: 3.938 kB / 412.6 MB, free: 23.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001007/0.2321, allocations: 61.53 kB / 412.7 MB, free: 23.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2321, allocations: 8 kB / 412.7 MB, free: 23.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2321, allocations: 4.062 kB / 412.7 MB, free: 23.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2322, allocations: 0 / 412.7 MB, free: 23.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.237e-05/0.2322, allocations: 7.984 kB / 412.7 MB, free: 23.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2322, allocations: 0 / 412.7 MB, free: 23.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.223e-05/0.2323, allocations: 4 kB / 412.7 MB, free: 23.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.2323, allocations: 4 kB / 412.7 MB, free: 23.48 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 5.3e-05/0.2323, allocations: 121.7 kB / 412.8 MB, free: 23.35 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.2324, allocations: 15.89 kB / 412.8 MB, free: 23.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.2324, allocations: 11.88 kB / 412.8 MB, free: 23.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2324, allocations: 7.938 kB / 412.8 MB, free: 23.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2324, allocations: 0 / 412.8 MB, free: 23.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.2325, allocations: 93.03 kB / 412.9 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.2325, allocations: 0 / 412.9 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/0.2326, allocations: 4 kB / 412.9 MB, free: 23.19 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.2326, allocations: 7.922 kB / 412.9 MB, free: 23.18 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001399/0.2327, allocations: 216.2 kB / 413.2 MB, free: 22.96 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001382/0.2329, allocations: 310 kB / 413.5 MB, free: 22.64 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.452e-05/0.2329, allocations: 16.08 kB / 413.5 MB, free: 22.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.687e-05/0.233, allocations: 106.2 kB / 413.6 MB, free: 22.53 MB / 298.7 MB Notification: Performance of Backend: time 3.21e-07/0.233, allocations: 0 / 413.6 MB, free: 22.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004157/0.2334, allocations: 94.33 kB / 413.7 MB, free: 22.43 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004306/0.2339, allocations: 0.6636 MB / 414.3 MB, free: 21.71 MB / 298.7 MB 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:0: sample1.y (no alias) initial: no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for sine.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: sine.y (no alias) initial: no arrCref index:(2) [] Error: Internal error GetVarIndexListByMapping: No Element for sine.amplitude 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: sine.amplitude (no alias) initial: 1.0 no arrCref index:(3) [] Error: Internal error GetVarIndexListByMapping: No Element for sine.f 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: sine.f (no alias) initial: 2.0 no arrCref index:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for sine.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: sine.offset (no alias) initial: 0.1 no arrCref index:(5) [] Error: Internal error GetVarIndexListByMapping: No Element for sine.phase 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: sine.phase (no alias) initial: 0.0 no arrCref index:(6) [] Error: Internal error GetVarIndexListByMapping: No Element for sine.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:4: sine.startTime (no alias) initial: 0.0 no arrCref index:(7) [] Error: Internal error GetVarIndexListByMapping: No Element for sine.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: sine.y (no alias) initial: no arrCref index:(2) [] 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:(9) [] 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:(10) [] 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:(11) [] Error: Internal error GetVarIndexListByMapping: No Element for superSample1.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:3: superSample1.factor (no alias) initial: 3 no arrCref index:(12) [] 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:(13) [] 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:(14) [] Error: Internal error GetVarIndexListByMapping: No Element for sample1.y found! Error: Internal error GetVarIndexListByMapping: No Element for sine.y found! Error: Internal error GetVarIndexListByMapping: No Element for sine.amplitude found! Error: Internal error GetVarIndexListByMapping: No Element for sine.f found! Error: Internal error GetVarIndexListByMapping: No Element for sine.offset found! Error: Internal error GetVarIndexListByMapping: No Element for sine.phase found! Error: Internal error GetVarIndexListByMapping: No Element for sine.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 superSample1.factor found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock.useSolver found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock.solverMethod found! Error: Internal error GetVarIndexListByMapping: No Element for sample1.u found!