Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001346/0.001346, allocations: 182.8 kB / 17.44 MB, free: 4.375 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.268/1.268, 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.0006859/0.0006859, allocations: 89.41 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06037/0.06037, allocations: 12.19 MB / 332.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004079/0.000408, allocations: 12 kB / 392.8 MB, free: 67.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06297/0.0634, allocations: 50.3 MB / 443 MB, free: 16.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample): time 0.001212/0.06463, allocations: 1.251 MB / 444.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005603/0.0652, allocations: 0.5 MB / 444.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.342e-05/0.06528, allocations: 0 / 444.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/0.06532, allocations: 7.922 kB / 444.8 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.06543, allocations: 7.938 kB / 444.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.06563, allocations: 43.89 kB / 444.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.537e-05/0.06571, allocations: 43.86 kB / 444.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.37e-05/0.0658, allocations: 15.98 kB / 444.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.874e-05/0.06589, allocations: 27.86 kB / 444.9 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.06594, allocations: 11.92 kB / 445 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.06596, allocations: 4 kB / 445 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.06598, allocations: 0 / 445 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.16e-05/0.06601, allocations: 19.91 kB / 445 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.06605, allocations: 45.52 kB / 445 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.725e-05/0.06611, allocations: 39.89 kB / 445.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.06612, allocations: 0 / 445.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.06613, allocations: 0 / 445.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.06613, allocations: 0 / 445.1 MB, free: 14.64 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.000313/0.06645, allocations: 371.4 kB / 445.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.06649, allocations: 8.031 kB / 445.4 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.06652, allocations: 8.844 kB / 445.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.06667, allocations: 192.1 kB / 445.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.003e-06/0.06668, allocations: 4.375 kB / 445.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.0667, allocations: 8.312 kB / 445.6 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.06692, allocations: 125.2 kB / 445.8 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.06694, allocations: 0 / 445.8 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.06696, allocations: 0 / 445.8 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.06696, allocations: 0 / 445.8 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.195e-05/0.06704, allocations: 27.98 kB / 445.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.06726, allocations: 265.7 kB / 446 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.195e-05/0.06733, allocations: 45.16 kB / 446.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.348e-05/0.06738, allocations: 25.77 kB / 446.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.06741, allocations: 0 / 446.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.06743, allocations: 38.44 kB / 446.2 MB, free: 13.35 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.06743, allocations: 0 / 446.2 MB, free: 13.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002032/0.06764, allocations: 73.58 kB / 446.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.545e-05/0.06766, allocations: 85.05 kB / 446.3 MB, free: 13.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.06775, allocations: 138.2 kB / 446.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.06776, allocations: 25.7 kB / 446.5 MB, free: 12.99 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.474e-05/0.06779, allocations: 88.12 kB / 446.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.768e-06/0.06781, allocations: 256 / 446.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.06782, allocations: 4 kB / 446.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.457e-05/0.06786, allocations: 318.8 kB / 446.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.799e-05/0.0679, allocations: 7.984 kB / 446.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.317e-05/0.06794, allocations: 21.72 kB / 446.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.845e-05/0.06802, allocations: 33.77 kB / 446.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.06803, allocations: 3.938 kB / 446.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001035/0.06814, allocations: 65.52 kB / 447 MB, free: 12.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.06816, allocations: 8.938 kB / 447 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.06817, allocations: 3.984 kB / 447 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.0682, allocations: 4.062 kB / 447 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.551e-05/0.06827, allocations: 4 kB / 447 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.06829, allocations: 0 / 447 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.676e-05/0.06833, allocations: 7.984 kB / 447 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.06834, allocations: 0 / 447 MB, free: 12.4 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 4.927e-05/0.0684, allocations: 130.4 kB / 447.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.06843, allocations: 7.906 kB / 447.2 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.06846, allocations: 15.81 kB / 447.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.06846, allocations: 4 kB / 447.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.06847, allocations: 7.938 kB / 447.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.06851, allocations: 89 kB / 447.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.06853, allocations: 4 kB / 447.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.0686, allocations: 4 kB / 447.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.06864, allocations: 3.938 kB / 447.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001394/0.06878, allocations: 220.2 kB / 447.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001274/0.06892, allocations: 306.1 kB / 447.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.42e-05/0.06897, allocations: 12.09 kB / 447.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.166e-05/0.06902, allocations: 107.2 kB / 447.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of Backend: time 9.02e-07/0.06903, allocations: 0 / 447.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000358/0.06939, allocations: 94.27 kB / 448 MB, free: 11.36 MB / 298.7 MB Notification: Performance of SimCode: time 0.0003699/0.06977, allocations: 0.6597 MB / 448.7 MB, free: 10.64 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.freqHz 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.freqHz (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_Synchronous.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 superSample.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: superSample.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.freqHz 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 superSample.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!