Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|pulse.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|pulse.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001286/0.001286, allocations: 183.2 kB / 17.44 MB, free: 4.258 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.256/1.256, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.0007202/0.0007204, allocations: 93.31 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06311/0.06311, allocations: 12.2 MB / 332.4 MB, free: 11.63 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003906, allocations: 15.98 kB / 392.8 MB, free: 67.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06383/0.06423, allocations: 50.29 MB / 443.1 MB, free: 16.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.001209/0.06548, allocations: 1.188 MB / 444.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005781/0.06608, allocations: 464.1 kB / 444.7 MB, free: 15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.306e-05/0.06616, allocations: 0 / 444.7 MB, free: 15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.06618, allocations: 0 / 444.7 MB, free: 15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.06632, allocations: 15.86 kB / 444.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.06649, allocations: 31.91 kB / 444.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.249e-05/0.06657, allocations: 47.86 kB / 444.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.026e-05/0.06667, allocations: 15.97 kB / 444.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.537e-05/0.06673, allocations: 15.94 kB / 444.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.293e-05/0.06678, allocations: 23.84 kB / 444.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.06681, allocations: 3.938 kB / 444.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.06682, allocations: 7.938 kB / 444.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.06684, allocations: 4 kB / 444.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.06688, allocations: 49.55 kB / 444.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.936e-05/0.06695, allocations: 28.17 kB / 444.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.06696, allocations: 4 kB / 444.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.06696, allocations: 0 / 444.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.06697, allocations: 4 kB / 444.9 MB, free: 14.75 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.0004093/0.06739, allocations: 363.4 kB / 445.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.06744, allocations: 8.031 kB / 445.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.06747, allocations: 8.844 kB / 445.3 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.06762, allocations: 184.3 kB / 445.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.06764, allocations: 4.375 kB / 445.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.06765, allocations: 384 / 445.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.06797, allocations: 151.5 kB / 445.6 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.06799, allocations: 4 kB / 445.6 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.068, allocations: 0 / 445.6 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.06802, allocations: 4 kB / 445.7 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.596e-05/0.06812, allocations: 27.98 kB / 445.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.776e-05/0.06822, allocations: 157.7 kB / 445.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.06839, allocations: 139.7 kB / 446 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.237e-05/0.06846, allocations: 32.84 kB / 446 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.06849, allocations: 4 kB / 446 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.249e-05/0.06851, allocations: 42.42 kB / 446 MB, free: 13.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.06851, allocations: 0 / 446 MB, free: 13.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002293/0.06875, allocations: 93.77 kB / 446.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.422e-05/0.06877, allocations: 51.41 kB / 446.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.989e-05/0.06884, allocations: 113.8 kB / 446.3 MB, free: 13.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.06885, allocations: 29.7 kB / 446.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.96e-05/0.06888, allocations: 92.06 kB / 446.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.44e-06/0.06889, allocations: 7.922 kB / 446.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.0689, allocations: 0 / 446.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.083e-05/0.06894, allocations: 318.8 kB / 446.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.053e-05/0.06896, allocations: 0 / 446.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.431e-05/0.06899, allocations: 53.08 kB / 446.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.848e-05/0.06903, allocations: 53.09 kB / 446.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.06904, allocations: 0 / 446.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.838e-05/0.06912, allocations: 69.56 kB / 446.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.06914, allocations: 7.938 kB / 446.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.06915, allocations: 4 kB / 446.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.06917, allocations: 0 / 446.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.841e-05/0.06921, allocations: 8 kB / 446.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.06923, allocations: 7.922 kB / 446.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.218e-05/0.06926, allocations: 16.03 kB / 447 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.06927, allocations: 0 / 447 MB, free: 12.46 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 5.318e-05/0.06933, allocations: 118.5 kB / 447.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.06935, allocations: 7.938 kB / 447.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.06938, allocations: 8.375 kB / 447.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.06939, allocations: 0 / 447.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.06939, allocations: 0 / 447.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.862e-05/0.06942, allocations: 89.02 kB / 447.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.06944, allocations: 3.984 kB / 447.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.177e-05/0.06952, allocations: 19.98 kB / 447.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.585e-06/0.06954, allocations: 0 / 447.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001859/0.06973, allocations: 156.9 kB / 447.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000144/0.06988, allocations: 254.7 kB / 447.6 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.458e-05/0.06995, allocations: 19.98 kB / 447.6 MB, free: 11.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.345e-05/0.06998, allocations: 83.28 kB / 447.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of Backend: time 2.9e-07/0.06999, allocations: 0 / 447.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002811/0.07027, allocations: 94.33 kB / 447.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of SimCode: time 0.000358/0.07064, allocations: 0.6132 MB / 448.4 MB, free: 10.89 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!