Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.StateGraph.Examples.FirstExample_Variant3.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.FirstExample_Variant3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_3.2.2_Modelica.StateGraph.Examples.FirstExample_Variant3") Notification: Performance of loadModel(Modelica): time 1.87/1.87, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003522, allocations: 16 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08986/0.09024, allocations: 44.5 MB / 309 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant3): time 0.002452/0.09274, allocations: 1.386 MB / 310.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007562/0.09353, allocations: 263.2 kB / 310.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.9e-05/0.09364, allocations: 4 kB / 310.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.09377, allocations: 19.8 kB / 310.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.62e-05/0.09384, allocations: 15.92 kB / 310.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004114/0.09427, allocations: 87.83 kB / 310.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003413/0.09462, allocations: 159.7 kB / 311 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003222/0.09496, allocations: 141.9 kB / 311.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.09508, allocations: 67.77 kB / 311.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.09524, allocations: 83.59 kB / 311.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.09529, allocations: 8 kB / 311.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.273e-05/0.09537, allocations: 12 kB / 311.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.117e-05/0.09546, allocations: 43.84 kB / 311.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.475e-05/0.09553, allocations: 53.64 kB / 311.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.0958, allocations: 151.7 kB / 311.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.09582, allocations: 0 / 311.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.09583, allocations: 0 / 311.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.09585, allocations: 0 / 311.5 MB, free: 13.88 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0007149/0.09657, allocations: 450.2 kB / 312 MB, free: 13.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.09663, allocations: 8.031 kB / 312 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.748e-05/0.09672, allocations: 27.72 kB / 312 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.09703, allocations: 230.7 kB / 312.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.641e-05/0.09709, allocations: 20.56 kB / 312.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.359e-05/0.09717, allocations: 28 kB / 312.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006203/0.0978, allocations: 262 kB / 312.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.09783, allocations: 3.938 kB / 312.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.09787, allocations: 12 kB / 312.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.0979, allocations: 8 kB / 312.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004962/0.0984, allocations: 169.6 kB / 312.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.09998, allocations: 0.9559 MB / 313.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.1004, allocations: 155.3 kB / 313.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.1004, allocations: 8.125 kB / 313.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003046/0.1008, allocations: 115.4 kB / 313.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 3.085e-06/0.1008, allocations: 0 / 313.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006058/0.1014, allocations: 209.9 kB / 314.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.1014, allocations: 59.41 kB / 314.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.1016, allocations: 157.6 kB / 314.4 MB, free: 10.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.948e-05/0.1017, allocations: 41.64 kB / 314.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.1018, allocations: 132.5 kB / 314.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.497e-05/0.1019, allocations: 67.17 kB / 314.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/0.1019, allocations: 8 kB / 314.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1021, allocations: 326.8 kB / 314.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.1023, allocations: 60.62 kB / 315 MB, free: 10.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.1026, allocations: 133.9 kB / 315.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.1028, allocations: 67.94 kB / 315.2 MB, free: 9.941 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.1028, allocations: 4 kB / 315.2 MB, free: 9.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005892/0.1034, allocations: 245.3 kB / 315.4 MB, free: 9.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.1034, allocations: 11.95 kB / 315.4 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1035, allocations: 0 / 315.4 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.1035, allocations: 4 kB / 315.4 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.1037, allocations: 36.2 kB / 315.5 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.849e-05/0.1038, allocations: 11.94 kB / 315.5 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.1039, allocations: 27.73 kB / 315.5 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.104, allocations: 16 kB / 315.5 MB, free: 9.586 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$whenCondition2,$whenCondition1,initialStep.active,$PRE.initialStep.localActive,initialStep.localActive,$PRE.initialStep.newActive,initialStep.newActive,$PRE.initialStep.oldActive,initialStep.oldActive,transition1.enableFire,transition1.fire,$PRE.transition1.t_start,transition1.t_start,$PRE.step.localActive,step.localActive,$PRE.step.newActive,step.newActive,$PRE.step.oldActive,step.oldActive,step.active,transition2.condition,transition2.enableFire,$PRE.timer.entryTime,timer.entryTime,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,transition1.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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 0.0001921/0.1042, allocations: 152.3 kB / 315.7 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.1042, allocations: 19.8 kB / 315.7 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004981/0.1047, allocations: 190.4 kB / 315.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.1048, allocations: 0 / 315.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1048, allocations: 4 kB / 315.9 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-05/0.1048, allocations: 92.91 kB / 316 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.1049, allocations: 4 kB / 316 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.105, allocations: 8 kB / 316 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.841e-05/0.1051, allocations: 23.97 kB / 316 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005393/0.1057, allocations: 268.9 kB / 316.3 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004875/0.1062, allocations: 346.6 kB / 316.6 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001872/0.1064, allocations: 79.89 kB / 316.7 MB, free: 8.355 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.658e-05/0.1065, allocations: 107.1 kB / 316.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of Backend: time 3.156e-06/0.1065, allocations: 3.938 kB / 316.8 MB, free: 8.246 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005885/0.1071, allocations: 202.2 kB / 317 MB, free: 8.043 MB / 266.7 MB Notification: Performance of SimCode: time 0.0009603/0.108, allocations: 0.7816 MB / 317.8 MB, free: 7.215 MB / 266.7 MB Notification: Performance of Templates: time 0.006883/0.1149, allocations: 1.686 MB / 319.5 MB, free: 5.535 MB / 266.7 MB "" Variables in the reference:time,transition1.enableFire,transition2.enableFire Variables in the result:initialStep.nIn,initialStep.nOut,step.nIn,step.nOut,time,transition1.enableFire,transition1.enableTimer,transition1.waitTime,transition2.enableFire,transition2.enableTimer,transition2.waitTime