Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009373/0.0009372, allocations: 182.6 kB / 17.44 MB, free: 4.254 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.241/1.241, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.000655/0.000655, allocations: 92.92 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06188/0.06188, allocations: 12.2 MB / 332.4 MB, free: 11.63 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003586, allocations: 16 kB / 392.8 MB, free: 67.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06201/0.06238, allocations: 50.3 MB / 443.1 MB, free: 16.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001098/0.06352, allocations: 1.141 MB / 444.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001845/0.06372, allocations: 87.78 kB / 444.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.06378, allocations: 4 kB / 444.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.183e-05/0.0638, allocations: 0 / 444.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.544e-05/0.06384, allocations: 3.938 kB / 444.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.06404, allocations: 23.97 kB / 444.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.496e-05/0.0641, allocations: 15.94 kB / 444.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.949e-05/0.06418, allocations: 15.98 kB / 444.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.275e-05/0.06421, allocations: 7.938 kB / 444.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.573e-05/0.06425, allocations: 11.94 kB / 444.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.06426, allocations: 0 / 444.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-06/0.06428, allocations: 0 / 444.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.06429, allocations: 7.969 kB / 444.4 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.06432, allocations: 33.64 kB / 444.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.235e-05/0.06437, allocations: 15.97 kB / 444.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.06438, allocations: 0 / 444.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.06439, allocations: 4 kB / 444.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.785e-06/0.0644, allocations: 0 / 444.4 MB, free: 15.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002546/0.06466, allocations: 335.7 kB / 444.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.06469, allocations: 8.031 kB / 444.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.262e-05/0.06472, allocations: 8.781 kB / 444.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.06483, allocations: 172.3 kB / 444.9 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.06486, allocations: 8.375 kB / 444.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.06487, allocations: 384 / 444.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.06509, allocations: 103.9 kB / 445.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.06511, allocations: 192 / 445.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.06512, allocations: 3.938 kB / 445.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.06513, allocations: 0 / 445.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.346e-05/0.06519, allocations: 19.98 kB / 445.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.759e-05/0.06528, allocations: 153.7 kB / 445.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.06538, allocations: 62.42 kB / 445.3 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.06543, allocations: 20.92 kB / 445.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.06546, allocations: 7.984 kB / 445.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.314e-05/0.06548, allocations: 34.56 kB / 445.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.06548, allocations: 0 / 445.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001544/0.06564, allocations: 69.53 kB / 445.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.201e-05/0.06566, allocations: 55.39 kB / 445.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.498e-05/0.06571, allocations: 97.86 kB / 445.6 MB, free: 13.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.593e-06/0.06573, allocations: 33.7 kB / 445.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.473e-05/0.06575, allocations: 80.14 kB / 445.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.36e-06/0.06576, allocations: 3.984 kB / 445.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.853e-06/0.06576, allocations: 4 kB / 445.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.351e-05/0.0658, allocations: 314.8 kB / 446 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.125e-06/0.06582, allocations: 7.938 kB / 446 MB, free: 13.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.51e-05/0.06584, allocations: 23.44 kB / 446 MB, free: 13.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.823e-05/0.06587, allocations: 43.36 kB / 446.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.06588, allocations: 0 / 446.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.601e-05/0.06594, allocations: 45.64 kB / 446.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.06595, allocations: 11.98 kB / 446.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.06596, allocations: 0 / 446.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.06598, allocations: 3.938 kB / 446.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.951e-05/0.06601, allocations: 4 kB / 446.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.06603, allocations: 4.125 kB / 446.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.06605, allocations: 11.94 kB / 446.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.06606, allocations: 256 / 446.1 MB, free: 13.31 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: 3 (assignClock1.y,assignClock1.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.188e-05/0.06611, allocations: 126.4 kB / 446.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.914e-06/0.06612, allocations: 3.906 kB / 446.3 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.828e-05/0.06614, allocations: 15.44 kB / 446.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.06615, allocations: 0 / 446.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.06616, allocations: 3.984 kB / 446.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.321e-05/0.06617, allocations: 77.11 kB / 446.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-06/0.06619, allocations: 4 kB / 446.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.442e-05/0.06622, allocations: 4 kB / 446.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-06/0.06623, allocations: 0 / 446.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.971e-05/0.06633, allocations: 133 kB / 446.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 9.969e-05/0.06644, allocations: 234.7 kB / 446.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.166e-05/0.06648, allocations: 16.36 kB / 446.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.604e-05/0.0665, allocations: 79.28 kB / 446.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of Backend: time 4.2e-07/0.06651, allocations: 0 / 446.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.06676, allocations: 86.33 kB / 446.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of SimCode: time 0.0002326/0.06701, allocations: 0.5935 MB / 447.5 MB, free: 11.83 MB / 298.7 MB Error: Internal error GetVarIndexListByMapping: No Element for step.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:0: step.simTime (no alias) protected initial: no arrCref index:(1) [] 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:(2) [] 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:1: step.startTime (no alias) initial: 0.2 no arrCref index:(3) [] 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:(4) [] 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:(5) [] 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:2: step.y (no alias) initial: no arrCref index:(6) [] 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:(7) [] 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:(8) [] 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:(9) [] Error: Internal error GetVarIndexListByMapping: No Element for step.simTime 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 step.y found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.period found! Error: Internal error GetVarIndexListByMapping: No Element for step.startTime found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.useSolver found! Error: Internal error GetVarIndexListByMapping: No Element for step.startValue found! Error: Internal error GetVarIndexListByMapping: No Element for periodicClock1.solverMethod found!