Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.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.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001319/0.001319, allocations: 183 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.22/1.22, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0007265/0.0007262, allocations: 82.42 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.06293/0.06293, allocations: 12.2 MB / 332.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003967, allocations: 12 kB / 392.8 MB, free: 67.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0655/0.06591, allocations: 50.3 MB / 443.1 MB, free: 16.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1): time 0.00119/0.06713, allocations: 1.201 MB / 444.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002834/0.06742, allocations: 163.5 kB / 444.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.245e-05/0.0675, allocations: 4 kB / 444.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.667e-05/0.06753, allocations: 0 / 444.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.765e-05/0.06764, allocations: 7.922 kB / 444.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.06783, allocations: 35.91 kB / 444.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.964e-05/0.0679, allocations: 27.92 kB / 444.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.402e-05/0.06799, allocations: 15.98 kB / 444.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.768e-05/0.06805, allocations: 15.94 kB / 444.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.709e-05/0.06808, allocations: 15.91 kB / 444.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.0681, allocations: 4 kB / 444.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.328e-06/0.06812, allocations: 0 / 444.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.211e-05/0.06815, allocations: 15.92 kB / 444.6 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.06819, allocations: 41.58 kB / 444.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.232e-05/0.06825, allocations: 23.95 kB / 444.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.06826, allocations: 4 kB / 444.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.06826, allocations: 0 / 444.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.875e-06/0.06827, allocations: 0 / 444.6 MB, free: 15.07 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.0002833/0.06856, allocations: 355.5 kB / 445 MB, free: 14.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.0686, allocations: 15.97 kB / 445 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.06864, allocations: 8.844 kB / 445 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.06877, allocations: 192 kB / 445.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.0688, allocations: 8.375 kB / 445.2 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.06881, allocations: 4.375 kB / 445.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.06904, allocations: 113.6 kB / 445.3 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.06906, allocations: 8.125 kB / 445.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.06907, allocations: 7.922 kB / 445.3 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.06908, allocations: 0 / 445.3 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.452e-05/0.06914, allocations: 12 kB / 445.3 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.06936, allocations: 261.8 kB / 445.6 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.06947, allocations: 138.2 kB / 445.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/0.06953, allocations: 25.78 kB / 445.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.06955, allocations: 3.984 kB / 445.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.06957, allocations: 42.5 kB / 445.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.06958, allocations: 3.984 kB / 445.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000184/0.06977, allocations: 69.59 kB / 445.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.719e-05/0.06979, allocations: 81.05 kB / 445.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.26e-05/0.06987, allocations: 135.2 kB / 446.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.632e-06/0.06989, allocations: 25.7 kB / 446.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.347e-05/0.06992, allocations: 84.27 kB / 446.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.045e-06/0.06993, allocations: 15.84 kB / 446.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.06994, allocations: 0 / 446.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.4e-05/0.06998, allocations: 310.8 kB / 446.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.807e-05/0.07001, allocations: 11.98 kB / 446.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.764e-05/0.07005, allocations: 27.44 kB / 446.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.325e-05/0.0701, allocations: 47.36 kB / 446.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.07011, allocations: 0 / 446.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.103e-05/0.07021, allocations: 73.59 kB / 446.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.07023, allocations: 9.094 kB / 446.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.07024, allocations: 3.938 kB / 446.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.07025, allocations: 0 / 446.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.069e-05/0.07027, allocations: 7.938 kB / 446.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.07028, allocations: 0 / 446.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.948e-05/0.07031, allocations: 7.984 kB / 446.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.07032, allocations: 4 kB / 446.7 MB, free: 12.71 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: 4 (sample.y,assignClock.y,assignClock.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.955e-05/0.07038, allocations: 121.6 kB / 446.8 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.07041, allocations: 11.88 kB / 446.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.07044, allocations: 15.89 kB / 446.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.07045, allocations: 0 / 446.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.07045, allocations: 0 / 446.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.07049, allocations: 93 kB / 446.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.07051, allocations: 0 / 446.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.779e-05/0.07057, allocations: 0 / 446.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.0706, allocations: 8 kB / 446.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001099/0.07071, allocations: 216.1 kB / 447.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001296/0.07085, allocations: 310 kB / 447.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.685e-05/0.0709, allocations: 19.92 kB / 447.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.591e-05/0.07094, allocations: 103.4 kB / 447.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of Backend: time 3.3e-07/0.07095, allocations: 0 / 447.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003431/0.0713, allocations: 86.39 kB / 447.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of SimCode: time 0.0003413/0.07165, allocations: 0.6326 MB / 448.3 MB, free: 10.99 MB / 298.7 MB 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:0: step.startTime (no alias) initial: 0.1 no arrCref index:(1) [] 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:(2) [] 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:(3) [] 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:(4) [] Error: Internal error GetVarIndexListByMapping: No Element for assignClock.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: assignClock.u (no alias) initial: no arrCref index:(5) [] Error: Internal error GetVarIndexListByMapping: No Element for assignClock.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: assignClock.y (no alias) initial: no arrCref index:(6) [] Error: Internal error GetVarIndexListByMapping: No Element for sample.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: sample.y (no alias) initial: no arrCref index:(7) [] 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:3: step.y (no alias) initial: no arrCref index:(8) [] 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:(9) [] Error: Internal error GetVarIndexListByMapping: No Element for step.startValue 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.startValue (no alias) initial: false no arrCref index:(10) [] 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:3: step.y (no alias) initial: no arrCref index:(8) [] 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:(12) [] Error: Internal error GetVarIndexListByMapping: No Element for assignClock.u found! Error: Internal error GetVarIndexListByMapping: No Element for assignClock.y found! Error: Internal error GetVarIndexListByMapping: No Element for sample.y found! Error: Internal error GetVarIndexListByMapping: No Element for step.y found! Error: Internal error GetVarIndexListByMapping: No Element for step.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 periodicClock.useSolver found! Error: Internal error GetVarIndexListByMapping: No Element for step.startValue found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock.solverMethod found! Error: Internal error GetVarIndexListByMapping: No Element for sample.u found!