Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.StateGraph.Examples.ShowCompositeStep.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ShowCompositeStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|compositeStep.transition3.enableFire|compositeStep.transition4.enableFire|compositeStep.transition4a.enableFire|compositeStep.transition5.enableFire|compositeStep.transition6.enableFire|compositeStep.transition6a.enableFire|transition1.enableFire|transition2.enableFire|transition7.enableFire",fileNamePrefix="Modelica_3.2.1_Modelica.StateGraph.Examples.ShowCompositeStep") Notification: Performance of loadModel(Modelica): time 1.759/1.759, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003422, allocations: 8 kB / 233.8 MB, free: 2.406 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08407/0.08444, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ShowCompositeStep): time 0.004919/0.08943, allocations: 2.229 MB / 274.8 MB, free: 9.301 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003246/0.0927, allocations: 1.056 MB / 275.9 MB, free: 8.238 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003269/0.09306, allocations: 23.88 kB / 275.9 MB, free: 8.215 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.09343, allocations: 99.17 kB / 276 MB, free: 8.117 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004081/0.09386, allocations: 55.72 kB / 276.1 MB, free: 8.062 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.09555, allocations: 387.5 kB / 276.5 MB, free: 7.684 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001798/0.09737, allocations: 0.7535 MB / 277.2 MB, free: 6.93 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.099, allocations: 0.6945 MB / 277.9 MB, free: 6.219 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005332/0.09955, allocations: 302.9 kB / 278.2 MB, free: 5.922 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006586/0.1002, allocations: 338.3 kB / 278.5 MB, free: 5.59 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.1004, allocations: 44 kB / 278.6 MB, free: 5.547 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002474/0.1007, allocations: 59.98 kB / 278.6 MB, free: 5.488 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003351/0.101, allocations: 191.4 kB / 278.8 MB, free: 5.301 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002473/0.1013, allocations: 169.3 kB / 279 MB, free: 5.129 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.103, allocations: 0.9199 MB / 279.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.103, allocations: 0 / 279.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1031, allocations: 0 / 279.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.1031, allocations: 0 / 279.9 MB, free: 4.207 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002762/0.1059, allocations: 0.9381 MB / 280.8 MB, free: 3.207 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.1059, allocations: 8.031 kB / 280.9 MB, free: 3.199 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003382/0.1063, allocations: 98.97 kB / 280.9 MB, free: 3.102 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.1076, allocations: 0.4896 MB / 281.4 MB, free: 2.57 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.1078, allocations: 89.98 kB / 281.5 MB, free: 2.484 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003408/0.1082, allocations: 119.9 kB / 281.6 MB, free: 2.367 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0037/0.1119, allocations: 1.035 MB / 282.7 MB, free: 1.305 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/0.1119, allocations: 0 / 282.7 MB, free: 1.305 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/0.1122, allocations: 40 kB / 282.7 MB, free: 1.266 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.106e-05/0.1122, allocations: 24 kB / 282.7 MB, free: 1.242 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003375/0.1156, allocations: 0.8392 MB / 283.6 MB, free: 412 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007834/0.1235, allocations: 2.979 MB / 286.6 MB, free: 13.31 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002612/0.1261, allocations: 0.7337 MB / 287.3 MB, free: 12.56 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.1262, allocations: 16.98 kB / 287.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001512/0.1278, allocations: 425.5 kB / 287.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of pre-optimization done (n=104): time 6.222e-06/0.1278, allocations: 0 / 287.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of matching and sorting (n=104): time 0.00374/0.1315, allocations: 0.9411 MB / 288.7 MB, free: 11.18 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.267e-05/0.1317, allocations: 80.39 kB / 288.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007294/0.1324, allocations: 345.7 kB / 289.1 MB, free: 10.74 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002504/0.1327, allocations: 73.69 kB / 289.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004891/0.1332, allocations: 328.9 kB / 289.5 MB, free: 10.33 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004474/0.1337, allocations: 256.5 kB / 289.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.1338, allocations: 28 kB / 289.8 MB, free: 10.05 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003522/0.1342, allocations: 366.8 kB / 290.1 MB, free: 9.684 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.1355, allocations: 314.5 kB / 290.4 MB, free: 9.379 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.1371, allocations: 0.5372 MB / 291 MB, free: 8.758 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.1384, allocations: 322.4 kB / 291.3 MB, free: 8.445 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.1384, allocations: 0 / 291.3 MB, free: 8.445 MB / 250.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00346/0.1419, allocations: 0.9646 MB / 292.2 MB, free: 7.473 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.1419, allocations: 8 kB / 292.2 MB, free: 7.465 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/0.142, allocations: 11.98 kB / 292.3 MB, free: 7.453 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.237e-05/0.142, allocations: 12 kB / 292.3 MB, free: 7.441 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009866/0.143, allocations: 123.6 kB / 292.4 MB, free: 7.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.966e-05/0.1431, allocations: 20.55 kB / 292.4 MB, free: 7.301 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000862/0.144, allocations: 126.9 kB / 292.5 MB, free: 7.176 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/0.1442, allocations: 59.97 kB / 292.6 MB, free: 7.117 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 133 ($PRE.compositeStep.transition3.enableFire,$PRE.compositeStep.transition4.enableFire,$PRE.compositeStep.transition5.enableFire,$PRE.compositeStep.transition6.enableFire,$PRE.compositeStep.transition4a.enableFire,$PRE.compositeStep.transition6a.enableFire,$PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition7.enableFire,stateGraphRoot.resume,stateGraphRoot.suspend,transition2.condition,transition1.condition,compositeStep.transition6a.condition,compositeStep.transition4a.condition,compositeStep.transition6.condition,compositeStep.transition5.condition,compositeStep.transition4.condition,compositeStep.transition3.condition,compositeStep.resume[1].set,compositeStep.suspend[1].reset,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,compositeStep.active,$PRE.compositeStep.newActive,compositeStep.newActive,compositeStep.activeSteps,compositeStep.transition3.enableFire,compositeStep.transition3.fire,$PRE.compositeStep.transition3.t_start,compositeStep.transition3.t_start,compositeStep.transition4.enableFire,compositeStep.transition4.fire,$PRE.compositeStep.transition4.t_start,compositeStep.transition4.t_start,compositeStep.step3.active,$PRE.compositeStep.step3.localActive,compositeStep.step3.localActive,$PRE.compositeStep.step3.newActive,compositeStep.step3.newActive,$PRE.compositeStep.step3.oldActive,compositeStep.step3.oldActive,compositeStep.step4.active,$PRE.compositeStep.step4.localActive,compositeStep.step4.localActive,$PRE.compositeStep.step4.newActive,compositeStep.step4.newActive,$PRE.compositeStep.step4.oldActive,compositeStep.step4.oldActive,compositeStep.transition5.enableFire,compositeStep.transition5.fire,$PRE.compositeStep.transition5.t_start,compositeStep.transition5.t_start,compositeStep.transition6.enableFire,compositeStep.transition6.fire,$PRE.compositeStep.transition6.t_start,compositeStep.transition6.t_start,compositeStep.transition4a.enableFire,compositeStep.transition4a.fire,$PRE.compositeStep.transition4a.t_start,compositeStep.transition4a.t_start,compositeStep.step4a.active,$PRE.compositeStep.step4a.localActive,compositeStep.step4a.localActive,$PRE.compositeStep.step4a.newActive,compositeStep.step4a.newActive,$PRE.compositeStep.step4a.oldActive,compositeStep.step4a.oldActive,compositeStep.transition6a.enableFire,compositeStep.transition6a.fire,$PRE.compositeStep.transition6a.t_start,compositeStep.transition6a.t_start,compositeStep.initStep.active,$PRE.compositeStep.initStep.localActive,compositeStep.initStep.localActive,compositeStep.initStep.outPort[1].reset,$PRE.compositeStep.initStep.newActive,compositeStep.initStep.newActive,$PRE.compositeStep.initStep.oldActive,compositeStep.initStep.oldActive,compositeStep.exitStep.active,$PRE.compositeStep.exitStep.localActive,compositeStep.exitStep.localActive,compositeStep.exitStep.inPort[1].set,$PRE.compositeStep.exitStep.newActive,compositeStep.exitStep.newActive,$PRE.compositeStep.exitStep.oldActive,compositeStep.exitStep.oldActive,compositeStep.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,step0.active,$PRE.step0.localActive,step0.localActive,$PRE.step0.newActive,step0.newActive,$PRE.step0.oldActive,step0.oldActive,transition1.enableFire,transition1.fire,transition1.outPort.occupied,$PRE.transition1.t_start,transition1.t_start,step1.active,$PRE.step1.localActive,step1.localActive,$PRE.step1.newActive,step1.newActive,$PRE.step1.oldActive,step1.oldActive,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,step6.active,$PRE.step6.localActive,step6.localActive,$PRE.step6.newActive,step6.newActive,$PRE.step6.oldActive,step6.oldActive,transition7.condition,transition7.enableFire,Parallel1.outPort.available,stateGraphRoot.activeSteps,compositeStep.stateGraphRoot.resume,compositeStep.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 165 * 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.0009046/0.1451, allocations: 348.8 kB / 292.9 MB, free: 6.766 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.1453, allocations: 51.39 kB / 293 MB, free: 6.715 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003046/0.1484, allocations: 0.7808 MB / 293.8 MB, free: 5.938 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.147e-05/0.1484, allocations: 7.922 kB / 293.8 MB, free: 5.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.1484, allocations: 3.984 kB / 293.8 MB, free: 5.926 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.1486, allocations: 136.3 kB / 293.9 MB, free: 5.773 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.1488, allocations: 16 kB / 293.9 MB, free: 5.758 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005229/0.1493, allocations: 43.97 kB / 294 MB, free: 5.715 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005713/0.1499, allocations: 140.8 kB / 294.1 MB, free: 5.574 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002438/0.1524, allocations: 0.8531 MB / 295 MB, free: 4.719 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001968/0.1544, allocations: 0.909 MB / 295.9 MB, free: 3.789 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000905/0.1553, allocations: 387.8 kB / 296.2 MB, free: 3.414 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002199/0.1555, allocations: 166 kB / 296.4 MB, free: 3.25 MB / 250.7 MB Notification: Performance of Backend: time 8.01e-07/0.1556, allocations: 4 kB / 296.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.1574, allocations: 0.6486 MB / 297.1 MB, free: 2.59 MB / 250.7 MB Notification: Performance of SimCode: time 0.002969/0.1604, allocations: 1.7 MB / 298.8 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of Templates: time 0.2321/0.3925, allocations: 7.887 MB / 306.6 MB, free: 29.22 MB / 250.7 MB "" Variables in the reference:time,compositeStep.transition3.enableFire,compositeStep.transition4.enableFire,compositeStep.transition4a.enableFire,compositeStep.transition5.enableFire,compositeStep.transition6.enableFire,compositeStep.transition6a.enableFire,transition1.enableFire,transition2.enableFire,transition7.enableFire Variables in the result:Parallel1.nBranches,compositeStep.Alternative1.nBranches,compositeStep.exitStep.nIn,compositeStep.exitStep.nOut,compositeStep.initStep.nIn,compositeStep.initStep.nOut,compositeStep.nResume,compositeStep.nSuspend,compositeStep.step3.nIn,compositeStep.step3.nOut,compositeStep.step4.nIn,compositeStep.step4.nOut,compositeStep.step4a.nIn,compositeStep.step4a.nOut,compositeStep.transition3.enableFire,compositeStep.transition3.enableTimer,compositeStep.transition3.waitTime,compositeStep.transition4.enableFire,compositeStep.transition4.enableTimer,compositeStep.transition4.waitTime,compositeStep.transition4a.enableFire,compositeStep.transition4a.enableTimer,compositeStep.transition4a.waitTime,compositeStep.transition5.enableFire,compositeStep.transition5.enableTimer,compositeStep.transition5.waitTime,compositeStep.transition6.enableFire,compositeStep.transition6.enableTimer,compositeStep.transition6.waitTime,compositeStep.transition6a.enableFire,compositeStep.transition6a.enableTimer,compositeStep.transition6a.waitTime,step0.nIn,step0.nOut,step1.nIn,step1.nOut,step6.nIn,step6.nOut,time,transition1.enableFire,transition1.enableTimer,transition1.waitTime,transition2.enableFire,transition2.enableTimer,transition2.waitTime,transition7.enableFire,transition7.enableTimer,transition7.waitTime