Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep.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.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.2_Modelica.StateGraph.Examples.ShowCompositeStep") Notification: Performance of loadModel(Modelica): time 2.209/2.209, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003444, allocations: 8 kB / 264.5 MB, free: 12.96 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09175/0.09211, allocations: 44.51 MB / 309.1 MB, free: 388 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ShowCompositeStep): time 0.003808/0.09597, allocations: 2.222 MB / 311.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.09853, allocations: 1.064 MB / 312.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002659/0.09882, allocations: 23.88 kB / 312.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.09908, allocations: 91.25 kB / 312.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.09942, allocations: 51.78 kB / 312.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.1007, allocations: 395.4 kB / 312.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.102, allocations: 0.7496 MB / 313.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.1032, allocations: 0.6828 MB / 314.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004072/0.1036, allocations: 310.9 kB / 314.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004984/0.1041, allocations: 334.4 kB / 315 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.1043, allocations: 52 kB / 315 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.1045, allocations: 59.92 kB / 315.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002583/0.1047, allocations: 187.4 kB / 315.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.1049, allocations: 161.3 kB / 315.4 MB, free: 9.973 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.1063, allocations: 0.9277 MB / 316.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1063, allocations: 3.938 kB / 316.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1063, allocations: 0 / 316.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1063, allocations: 3.938 kB / 316.3 MB, free: 9.035 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002122/0.1084, allocations: 0.9265 MB / 317.3 MB, free: 8.051 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1085, allocations: 8.031 kB / 317.3 MB, free: 8.043 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.1087, allocations: 102.9 kB / 317.4 MB, free: 7.941 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009985/0.1098, allocations: 0.4974 MB / 317.9 MB, free: 7.402 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.1099, allocations: 94 kB / 318 MB, free: 7.312 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/0.1102, allocations: 116 kB / 318.1 MB, free: 7.199 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002768/0.113, allocations: 1.023 MB / 319.1 MB, free: 6.148 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/0.113, allocations: 4 kB / 319.1 MB, free: 6.145 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.1132, allocations: 43.98 kB / 319.1 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/0.1132, allocations: 24 kB / 319.2 MB, free: 6.078 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.1158, allocations: 0.8315 MB / 320 MB, free: 5.246 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006039/0.1218, allocations: 2.975 MB / 323 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.1238, allocations: 0.7263 MB / 323.7 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.214e-05/0.1239, allocations: 17.09 kB / 323.7 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/0.125, allocations: 440.8 kB / 324.1 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 4.669e-06/0.125, allocations: 0 / 324.1 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.002699/0.1277, allocations: 0.945 MB / 325.1 MB, free: 16 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.239e-05/0.1278, allocations: 72.41 kB / 325.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005275/0.1284, allocations: 341.7 kB / 325.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001803/0.1286, allocations: 81.69 kB / 325.6 MB, free: 15.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003288/0.1289, allocations: 320.9 kB / 325.9 MB, free: 15.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003189/0.1292, allocations: 256.6 kB / 326.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.725e-05/0.1293, allocations: 24 kB / 326.2 MB, free: 14.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.1296, allocations: 382.7 kB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009264/0.1305, allocations: 310.5 kB / 326.8 MB, free: 14.22 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.1317, allocations: 0.5333 MB / 327.4 MB, free: 13.6 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009298/0.1327, allocations: 322.3 kB / 327.7 MB, free: 13.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.1327, allocations: 4 kB / 327.7 MB, free: 13.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002534/0.1352, allocations: 0.9684 MB / 328.7 MB, free: 12.31 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.1353, allocations: 8.812 kB / 328.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.1353, allocations: 4 kB / 328.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.848e-05/0.1354, allocations: 20 kB / 328.7 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007329/0.1361, allocations: 119.7 kB / 328.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.485e-05/0.1362, allocations: 15.94 kB / 328.8 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000614/0.1368, allocations: 118.9 kB / 328.9 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.1369, allocations: 55.98 kB / 329 MB, free: 11.98 MB / 282.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.0006882/0.1376, allocations: 364.7 kB / 329.4 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.1378, allocations: 55.33 kB / 329.4 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/0.1399, allocations: 0.777 MB / 330.2 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.14, allocations: 3.984 kB / 330.2 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.14, allocations: 3.938 kB / 330.2 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.1401, allocations: 132.4 kB / 330.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.1403, allocations: 27.98 kB / 330.4 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/0.1407, allocations: 39.97 kB / 330.4 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000402/0.1411, allocations: 132.8 kB / 330.5 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002297/0.1434, allocations: 0.8647 MB / 331.4 MB, free: 9.551 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00195/0.1454, allocations: 0.8973 MB / 332.3 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000895/0.1463, allocations: 387.8 kB / 332.7 MB, free: 8.258 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002288/0.1465, allocations: 170 kB / 332.8 MB, free: 8.094 MB / 282.7 MB Notification: Performance of Backend: time 2.595e-06/0.1466, allocations: 0 / 332.8 MB, free: 8.094 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.1485, allocations: 0.654 MB / 333.5 MB, free: 7.434 MB / 282.7 MB Notification: Performance of SimCode: time 0.003048/0.1515, allocations: 1.713 MB / 335.2 MB, free: 5.668 MB / 282.7 MB Notification: Performance of Templates: time 0.0256/0.1772, allocations: 7.878 MB / 343.1 MB, free: 13.8 MB / 298.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