Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001009/0.001008, allocations: 197.6 kB / 18.05 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 226.5 MB / 245.3 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009647/0.0009647, allocations: 103.3 kB / 297.4 MB, free: 6.711 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003225, allocations: 8 kB / 357.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2358, allocations: 51.29 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.001414/0.2372, allocations: 1.289 MB / 410 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006819/0.2379, allocations: 0.4969 MB / 410.5 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.238, allocations: 4 kB / 410.5 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.982e-05/0.2381, allocations: 5.688 kB / 410.5 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.2382, allocations: 15.92 kB / 410.5 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.2385, allocations: 39.84 kB / 410.5 MB, free: 25.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.649e-05/0.2385, allocations: 51.83 kB / 410.6 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2387, allocations: 10.09 kB / 410.6 MB, free: 25.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.794e-05/0.2388, allocations: 27.86 kB / 410.6 MB, free: 25.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.097e-05/0.2388, allocations: 10 kB / 410.6 MB, free: 25.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.2388, allocations: 4 kB / 410.6 MB, free: 25.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.674e-05/0.2389, allocations: 11.97 kB / 410.7 MB, free: 25.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.264e-05/0.2389, allocations: 11.94 kB / 410.7 MB, free: 25.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.098e-05/0.239, allocations: 45.56 kB / 410.7 MB, free: 25.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.528e-05/0.239, allocations: 43.86 kB / 410.8 MB, free: 25.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2391, allocations: 0.7812 kB / 410.8 MB, free: 25.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.634e-06/0.2391, allocations: 0 / 410.8 MB, free: 25.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.2391, allocations: 0.875 kB / 410.8 MB, free: 25.65 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.0003655/0.2395, allocations: 365.4 kB / 411.1 MB, free: 25.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2395, allocations: 8.031 kB / 411.1 MB, free: 25.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.2396, allocations: 25.7 kB / 411.1 MB, free: 25.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.2398, allocations: 202.9 kB / 411.3 MB, free: 24.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.2398, allocations: 8.984 kB / 411.4 MB, free: 24.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.2398, allocations: 4.375 kB / 411.4 MB, free: 24.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.2401, allocations: 119.3 kB / 411.5 MB, free: 24.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2401, allocations: 0 / 411.5 MB, free: 24.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.2401, allocations: 4 kB / 411.5 MB, free: 24.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2402, allocations: 4 kB / 411.5 MB, free: 24.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.2402, allocations: 23.92 kB / 411.5 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.2405, allocations: 278.5 kB / 411.8 MB, free: 24.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.037e-05/0.2406, allocations: 63.84 kB / 411.8 MB, free: 24.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.718e-05/0.2407, allocations: 46.56 kB / 411.9 MB, free: 24.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.2407, allocations: 7.984 kB / 411.9 MB, free: 24.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.2407, allocations: 34.56 kB / 411.9 MB, free: 24.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2407, allocations: 0 / 411.9 MB, free: 24.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002436/0.241, allocations: 89.52 kB / 412 MB, free: 24.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.241, allocations: 106.8 kB / 412.1 MB, free: 24.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.751e-05/0.2411, allocations: 141.8 kB / 412.3 MB, free: 23.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.2411, allocations: 25.7 kB / 412.3 MB, free: 23.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.019e-05/0.2411, allocations: 88.52 kB / 412.4 MB, free: 23.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.2412, allocations: 11.91 kB / 412.4 MB, free: 23.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.2412, allocations: 0 / 412.4 MB, free: 23.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.651e-05/0.2412, allocations: 318.8 kB / 412.7 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.776e-05/0.2413, allocations: 8 kB / 412.7 MB, free: 23.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.761e-05/0.2413, allocations: 35.42 kB / 412.7 MB, free: 23.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.804e-05/0.2414, allocations: 63.23 kB / 412.8 MB, free: 23.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2414, allocations: 0 / 412.8 MB, free: 23.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001115/0.2415, allocations: 77.61 kB / 412.9 MB, free: 23.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.2415, allocations: 4 kB / 412.9 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2415, allocations: 0 / 412.9 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.2416, allocations: 4 kB / 412.9 MB, free: 23.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.106e-05/0.2416, allocations: 15.92 kB / 412.9 MB, free: 23.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2417, allocations: 0 / 412.9 MB, free: 23.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.003e-05/0.2417, allocations: 11.88 kB / 412.9 MB, free: 23.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.2417, allocations: 0 / 412.9 MB, free: 23.21 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 5.057e-05/0.2418, allocations: 125.9 kB / 413 MB, free: 23.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.2418, allocations: 11.89 kB / 413 MB, free: 23.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.2418, allocations: 11.88 kB / 413.1 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.2418, allocations: 0 / 413.1 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2419, allocations: 0 / 413.1 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.2419, allocations: 93 kB / 413.1 MB, free: 22.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.2419, allocations: 4 kB / 413.1 MB, free: 22.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.242, allocations: 7.984 kB / 413.2 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.242, allocations: 7.938 kB / 413.2 MB, free: 22.92 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001657/0.2422, allocations: 299.5 kB / 413.5 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001576/0.2424, allocations: 401.3 kB / 413.8 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.145e-05/0.2424, allocations: 19.98 kB / 413.9 MB, free: 22.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.445e-05/0.2425, allocations: 110.3 kB / 414 MB, free: 22.09 MB / 298.7 MB Notification: Performance of Backend: time 6.01e-07/0.2425, allocations: 4 kB / 414 MB, free: 22.08 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000479/0.243, allocations: 98.33 kB / 414.1 MB, free: 21.98 MB / 298.7 MB Notification: Performance of SimCode: time 0.00042/0.2434, allocations: 0.6752 MB / 414.7 MB, free: 21.25 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 superSample1.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:2: superSample1.u (no alias) initial: no arrCref index:(3) [] Error: Internal error GetVarIndexListByMapping: No Element for superSample1.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: superSample1.y (no alias) initial: no arrCref index:(4) [] 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:(5) [] 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:(6) [] 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:(7) [] 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:(8) [] 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:(9) [] 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:(11) [] 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:(12) [] 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:(13) [] 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:(14) [] 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:(15) [] Error: Internal error GetVarIndexListByMapping: No Element for superSample1.inferFactor 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: superSample1.inferFactor (no alias) initial: false no arrCref index:(16) [] 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:(17) [] 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 superSample1.u found! Error: Internal error GetVarIndexListByMapping: No Element for superSample1.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 superSample1.inferFactor found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock.solverMethod found! Error: Internal error GetVarIndexListByMapping: No Element for sample1.u found!