Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001776/0.001776, allocations: 198.8 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.396/1.396, allocations: 226.5 MB / 245.3 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006632/0.0006632, allocations: 101 kB / 297.4 MB, free: 6.719 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002433/0.0002433, allocations: 4 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2836, allocations: 51.29 MB / 408.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.00151/0.2852, allocations: 1.192 MB / 409.9 MB, free: 26.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007026/0.2859, allocations: 461.5 kB / 410.3 MB, free: 26.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.286, allocations: 0 / 410.3 MB, free: 26.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.286, allocations: 3.984 kB / 410.3 MB, free: 26.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.2862, allocations: 11.94 kB / 410.3 MB, free: 26.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.2864, allocations: 28.62 kB / 410.4 MB, free: 26.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.687e-05/0.2865, allocations: 43.86 kB / 410.4 MB, free: 26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2866, allocations: 17.67 kB / 410.4 MB, free: 25.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.806e-05/0.2866, allocations: 19.92 kB / 410.5 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.2867, allocations: 23.84 kB / 410.5 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.2867, allocations: 6.562 kB / 410.5 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.2867, allocations: 0 / 410.5 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.2868, allocations: 4 kB / 410.5 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.331e-05/0.2868, allocations: 45.56 kB / 410.5 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.926e-05/0.2869, allocations: 35.92 kB / 410.6 MB, free: 25.85 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2869, allocations: 0 / 410.6 MB, free: 25.85 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2869, allocations: 0 / 410.6 MB, free: 25.85 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.287, allocations: 0.5625 kB / 410.6 MB, free: 25.85 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005141/0.2875, allocations: 367.8 kB / 410.9 MB, free: 25.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.2875, allocations: 8.031 kB / 410.9 MB, free: 25.44 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.2876, allocations: 8.844 kB / 410.9 MB, free: 25.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.2878, allocations: 180.3 kB / 411.1 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.2878, allocations: 5.5 kB / 411.1 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.2878, allocations: 384 / 411.1 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.2882, allocations: 159.6 kB / 411.3 MB, free: 25.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2882, allocations: 3.938 kB / 411.3 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.2882, allocations: 0 / 411.3 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2882, allocations: 3.938 kB / 411.3 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.2883, allocations: 35.97 kB / 411.3 MB, free: 25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.2884, allocations: 165.7 kB / 411.5 MB, free: 24.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.2886, allocations: 135.7 kB / 411.6 MB, free: 24.63 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.764e-05/0.2887, allocations: 24.86 kB / 411.6 MB, free: 24.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.2887, allocations: 3.984 kB / 411.6 MB, free: 24.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.2888, allocations: 42.5 kB / 411.7 MB, free: 24.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.2888, allocations: 7.938 kB / 411.7 MB, free: 24.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002584/0.289, allocations: 81.67 kB / 411.8 MB, free: 24.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.2891, allocations: 55.41 kB / 411.8 MB, free: 24.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.2892, allocations: 113.7 kB / 411.9 MB, free: 24.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.2892, allocations: 25.7 kB / 412 MB, free: 24.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.355e-05/0.2892, allocations: 88.14 kB / 412.1 MB, free: 24.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.642e-06/0.2892, allocations: 0 / 412.1 MB, free: 24.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.2892, allocations: 4 kB / 412.1 MB, free: 24.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.2893, allocations: 322.8 kB / 412.4 MB, free: 23.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.082e-05/0.2893, allocations: 0 / 412.4 MB, free: 23.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.673e-05/0.2893, allocations: 45.09 kB / 412.4 MB, free: 23.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.068e-05/0.2894, allocations: 53.08 kB / 412.5 MB, free: 23.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2894, allocations: 0 / 412.5 MB, free: 23.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.701e-05/0.2895, allocations: 69.56 kB / 412.5 MB, free: 23.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.2895, allocations: 12.12 kB / 412.5 MB, free: 23.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2895, allocations: 4 kB / 412.5 MB, free: 23.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2895, allocations: 0 / 412.5 MB, free: 23.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.151e-05/0.2896, allocations: 8 kB / 412.6 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2896, allocations: 0 / 412.6 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.24e-05/0.2896, allocations: 8 kB / 412.6 MB, free: 23.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.2896, allocations: 0 / 412.6 MB, free: 23.58 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 6.834e-05/0.2897, allocations: 121.8 kB / 412.7 MB, free: 23.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.2897, allocations: 11.84 kB / 412.7 MB, free: 23.44 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.2898, allocations: 12.38 kB / 412.7 MB, free: 23.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2898, allocations: 0 / 412.7 MB, free: 23.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2898, allocations: 0 / 412.7 MB, free: 23.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.2898, allocations: 85.05 kB / 412.8 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.2898, allocations: 0 / 412.8 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.569e-05/0.2899, allocations: 16.36 kB / 412.8 MB, free: 23.31 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.2899, allocations: 0 / 412.8 MB, free: 23.31 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002146/0.2902, allocations: 164.9 kB / 413 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001517/0.2903, allocations: 254.6 kB / 413.2 MB, free: 22.88 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.802e-05/0.2904, allocations: 23.98 kB / 413.2 MB, free: 22.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.626e-05/0.2904, allocations: 87.25 kB / 413.3 MB, free: 22.77 MB / 298.7 MB Notification: Performance of Backend: time 1.9e-07/0.2904, allocations: 7.938 kB / 413.3 MB, free: 22.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003291/0.2908, allocations: 104.5 kB / 413.4 MB, free: 22.65 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004549/0.2912, allocations: 0.6012 MB / 414 MB, free: 21.99 MB / 298.7 MB Error: Internal error GetVarIndexListByMapping: No Element for pulse.next 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: pulse.next (no alias) protected initial: pulse.startTime no arrCref index:(1) [] Error: Internal error GetVarIndexListByMapping: No Element for pulse.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:1: pulse.simTime (no alias) protected initial: no arrCref index:(2) [] Error: Internal error GetVarIndexListByMapping: No Element for pulse.tol 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: pulse.tol (no alias) protected initial: no arrCref index:(3) [] 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:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for pulse.Twidth 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: pulse.Twidth (no alias) protected hideResult initial: no arrCref index:(5) [] Error: Internal error GetVarIndexListByMapping: No Element for pulse.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:2: pulse.period (no alias) initial: 0.4 no arrCref index:(6) [] Error: Internal error GetVarIndexListByMapping: No Element for pulse.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:3: pulse.startTime (no alias) initial: 0.1 no arrCref index:(7) [] Error: Internal error GetVarIndexListByMapping: No Element for pulse.width 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: pulse.width (no alias) initial: 50.0 no arrCref index:(8) [] 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:(9) [] 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:(10) [] Error: Internal error GetVarIndexListByMapping: No Element for pulse.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: pulse.y (no alias) initial: no arrCref index:(11) [] 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:(12) [] 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:(13) [] Error: Internal error GetVarIndexListByMapping: No Element for pulse.next found! Error: Internal error GetVarIndexListByMapping: No Element for pulse.simTime found! Error: Internal error GetVarIndexListByMapping: No Element for pulse.tol 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 pulse.y found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.period found! Error: Internal error GetVarIndexListByMapping: No Element for pulse.Twidth found! Error: Internal error GetVarIndexListByMapping: No Element for pulse.period found! Error: Internal error GetVarIndexListByMapping: No Element for pulse.startTime found! Error: Internal error GetVarIndexListByMapping: No Element for pulse.width found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.useSolver found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.solverMethod found!