Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TATest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 173 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9321/0.9321, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.04933/0.04933, allocations: 12.67 MB / 272.9 MB, free: 400 kB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ExtTest.TATest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TATest") translateModel(PNlib.Examples.ExtTest.TATest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TATest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 293.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/1.974e-05, allocations: 6.797 kB / 293.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TATest): time 0.00305/0.00307, allocations: 3.482 MB / 297.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003613/0.006683, allocations: 2.84 MB / 300 MB, free: 8.617 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003663/0.007049, allocations: 28.44 kB / 300 MB, free: 8.605 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004916/0.007541, allocations: 359.4 kB / 300.3 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007138/0.008255, allocations: 465.9 kB / 300.8 MB, free: 8.074 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.01, allocations: 1.319 MB / 302.1 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002269/0.01227, allocations: 3.55 MB / 305.7 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000372/0.01264, allocations: 379.3 kB / 306 MB, free: 4.973 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.01399, allocations: 2.127 MB / 308.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008608/0.01485, allocations: 1.174 MB / 309.3 MB, free: 2.516 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002963/0.01515, allocations: 333.6 kB / 309.7 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008149/0.01596, allocations: 0.8388 MB / 310.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003148/0.01628, allocations: 0.7042 MB / 311.2 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006256/0.0169, allocations: 1.017 MB / 312.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001968/0.01887, allocations: 3.048 MB / 315.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.01887, allocations: 0 / 315.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.01888, allocations: 0 / 315.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.01889, allocations: 0 / 315.3 MB, free: 12.57 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 743 * Number of variables: 743 Notification: Performance of Generate backend data structure: time 0.00276/0.02165, allocations: 3.306 MB / 318.6 MB, free: 9.078 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.02168, allocations: 8.969 kB / 318.6 MB, free: 9.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.023, allocations: 0.8234 MB / 319.4 MB, free: 8.258 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008456/0.02384, allocations: 0.678 MB / 320.1 MB, free: 7.551 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005664/0.02441, allocations: 1.294 MB / 321.4 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000296/0.02471, allocations: 327.9 kB / 321.7 MB, free: 5.688 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003468/0.02817, allocations: 4.487 MB / 326.2 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.842e-05/0.02821, allocations: 7.938 kB / 326.2 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/0.02841, allocations: 155.8 kB / 326.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002474/0.02866, allocations: 283 kB / 326.6 MB, free: 332 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.03073, allocations: 2.451 MB / 329.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006448/0.03717, allocations: 7.185 MB / 336.3 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.03875, allocations: 2.06 MB / 338.3 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.04029, allocations: 1.843 MB / 340.2 MB, free: 2.168 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002429/0.04054, allocations: 136.9 kB / 340.3 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00194/0.04248, allocations: 2.56 MB / 342.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=212): time 3.466e-06/0.04248, allocations: 4 kB / 342.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=212): time 0.005305/0.04779, allocations: 5.947 MB / 348.8 MB, free: 8.992 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004546/0.04824, allocations: 1.266 MB / 350.1 MB, free: 7.496 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005079/0.04875, allocations: 0.8571 MB / 350.9 MB, free: 6.625 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.04887, allocations: 125.7 kB / 351.1 MB, free: 6.496 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.04925, allocations: 0.8849 MB / 351.9 MB, free: 5.602 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005811/0.04983, allocations: 0.5892 MB / 352.5 MB, free: 5.008 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005769/0.05041, allocations: 0.7202 MB / 353.2 MB, free: 4.277 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.384e-05/0.05048, allocations: 333.9 kB / 353.6 MB, free: 3.945 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008988/0.05138, allocations: 1.395 MB / 355 MB, free: 2.402 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/0.05273, allocations: 2.662 MB / 357.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002373/0.0551, allocations: 3.696 MB / 361.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.05512, allocations: 8 kB / 361.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.003068/0.05819, allocations: 3.734 MB / 365.1 MB, free: 6.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006079/0.05879, allocations: 0.7841 MB / 365.9 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001945/0.06074, allocations: 2.163 MB / 368 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.06177, allocations: 401.2 kB / 368.4 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009545/0.06272, allocations: 423.1 kB / 368.8 MB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007238/0.06344, allocations: 0.7843 MB / 369.6 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.06467, allocations: 361.8 kB / 370 MB, free: 1.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/0.06489, allocations: 144 kB / 370.1 MB, free: 1.281 MB / 330.7 MB Warning: Assuming fixed start value for the following 36 variables: P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P2.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * Number of states: 0 () * Number of discrete variables: 314 ($PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],$PRE.P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.enableOut.disTAout[1],$PRE.P2.enableOut.disTAout[1],$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$PRE.P2.enableIn.disTAin[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[2],$PRE.P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[2],$PRE.P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[2],$PRE.P1.enableOut.disTAout[2],P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],T3.inPlaces[1].tokenInOut,$PRE.P2.disMarksInOut,T1.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,P1.outTransition[2].tokenInOut,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition6,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,P1.outTransition[1].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,P2.outTransition[1].arcType,P2.outTransition[1].testValueint,P2.outTransition[1].normalArc,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,P2.disMarksOut.vec[1],P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksOut.vec[2],P1.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.reStart,P2.reStart,P1.outTransition[1].tint,P1.outTransition[1].minTokensint,P1.outTransition[1].disPlace,T1.inPlaces[1].disTransition,P2.inTransition[1].tint,P2.inTransition[1].maxTokensint,P2.inTransition[1].disPlace,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].disTransition,T1.firingCon,P1.inTransition[1].tint,P1.inTransition[1].maxTokensint,P1.inTransition[1].disPlace,T2.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].disTransition,T2.firingCon,P2.outTransition[1].tint,P2.outTransition[1].minTokensint,P2.outTransition[1].disPlace,T1.activation.arcWeightIntIn[1],P1.outTransition[1].arcWeightint,T3.activation.arcWeightIntIn[1],P2.outTransition[1].arcWeightint,T1.activation.tIntIn[1],T1.activation.minTokensInt[1],T1.activation.disPlaceIn[1],T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.disPlaceOut[1],T2.activation.tIntOut[1],T2.activation.maxTokensInt[1],T2.activation.disPlaceOut[1],T3.activation.tIntIn[1],T3.activation.minTokensInt[1],T3.activation.disPlaceIn[1],T3.activation.tIntIn[2],T3.activation.minTokensInt[2],T3.activation.disPlaceIn[2],T3.activation.arcType[2],T3.activation.testValueInt[2],T3.activation.normalArc[2],T3.activation.arcWeightIntIn[2],T2.activation.arcWeightIntOut[1],T1.activation.arcWeightIntOut[1],T3.activation.testValueInt[1],T1.activation.testValueInt[1],P2.delayPassedIn.vec[1],P2.delayPassedOut.vec[1],P1.delayPassedIn.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedOut.vec[1],TA1.outTransition.arcType,T2.fire_,TA2.outTransition.arcType,T3.fire_,T3.activation.NoTokens,T3.activation.weaklyInputActiveVec[2],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.normalArc[1],T3.activation.fed[2],T3.activation.fed[1],T3.activation.arcType[1],T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.emptied[1],T1.fire_,T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.normalArc[1],T1.activation.emptied[1],T1.activation.fed[1],T1.activation.arcType[1],TA2.testColor[3],TA2.testColor[2],TA2.testColor[1],TA1.testColor[3],TA1.testColor[2],TA1.testColor[1],P2.emptying.numtrue,P2.emptying.anytrue,P2.emptying.vec[1],P2.feeding.numtrue,P2.feeding.anytrue,P2.feeding.vec[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.TEout[1],$PRE.P2.enableOut.TEout[1],P2.enableOut.TEout_[1],P2.enableOut.TAout[1],P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.fireOut[1],$PRE.P2.fireOut[1],P2.fireIn[1],$PRE.P2.fireIn[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[2],P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[2],$PRE.P1.enableOut.TEout[2],P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.TAout[2],P1.enableOut.TAout[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireOut[2],$PRE.P1.fireOut[2],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[1],$PRE.P1.fireIn[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,T3.inPlaces[1].disTransition,P1.outTransition[2].tint,P1.outTransition[2].minTokensint,P1.outTransition[2].disPlace,P1.outTransition[2].arcType,P1.outTransition[2].testValueint,P1.outTransition[2].normalArc,T3.inPlaces[2].disTransition,T3.firingCon) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (343): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 23 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,17)} Notification: Performance of prepare postOptimizeDAE: time 0.001407/0.06629, allocations: 1.507 MB / 371.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005521/0.06685, allocations: 327.8 kB / 371.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004246/0.07109, allocations: 4.124 MB / 376 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.07111, allocations: 15.98 kB / 376.1 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.07112, allocations: 0 / 376.1 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.07113, allocations: 3.984 kB / 376.1 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005495/0.07662, allocations: 5.261 MB / 381.3 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003626/0.08025, allocations: 3.951 MB / 385.3 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.0805, allocations: 87.89 kB / 385.4 MB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005934/0.08109, allocations: 328.4 kB / 385.7 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001989/0.08129, allocations: 111.9 kB / 385.8 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008645/0.08215, allocations: 0.7569 MB / 386.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.08216, allocations: 3.984 kB / 386.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007042/0.0892, allocations: 6.907 MB / 393.5 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.0893, allocations: 134.8 kB / 393.6 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004036/0.08971, allocations: 191.9 kB / 393.8 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007541/0.09046, allocations: 211.8 kB / 394 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008452/0.09131, allocations: 0.6527 MB / 394.6 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002282/0.09153, allocations: 132 kB / 394.8 MB, free: 7.301 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002286/0.09176, allocations: 256.4 kB / 395 MB, free: 7.047 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09176, allocations: 4 kB / 395 MB, free: 7.043 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001748/0.09351, allocations: 0.9042 MB / 395.9 MB, free: 6.137 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 158 ($cse5[1],$cse6[1],$cse6[2],$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,P1.outTransition[2].tokenInOut,P1.disMarksInOut,P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.disTAin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableOut.TAout[1],P1.enableOut.TAout[2],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.TEout[2],P1.enableOut.disTAout[1],P1.enableOut.disTAout[2],P1.enableOut.remTAout[1],P1.enableOut.remTAout[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[2],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.vec[2],P1.emptying.anytrue,P1.emptying.numtrue,P2.disMarksInOut,P2.fireIn[1],P2.fireOut[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.disTAin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.enableOut.TAout[1],P2.enableOut.TEout_[1],P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.TEout[1],P2.enableOut.disTAout[1],P2.enableOut.remTAout[1],P2.enableOut.cumEnablingProb[1],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.vec[1],P2.emptying.anytrue,P2.emptying.numtrue,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],TA2.testColor[1],TA2.testColor[2],TA2.testColor[3],T1.inPlaces[1].tokenInOut,T1.activation.arcType[1],T1.activation.fed[1],T1.activation.emptied[1],T1.activation.normalArc[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T1.fire_,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.inPlaces[1].tokenInOut,T3.activation.arcType[1],T3.activation.fed[1],T3.activation.fed[2],T3.activation.normalArc[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyInputActiveVec[2],T3.activation.NoTokens,T3.fire_) * Number of discrete states: 125 (P2.disMarksInOut,P1.disMarksInOut,P2.fireIn[1],P2.fireOut[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireIn[1],P1.fireOut[2],P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.disMarksIn.numtrue,P2.disMarksOut.numtrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.NoTokens,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P2.enableIn.TEin_[1],P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$whenCondition3,P2.enableIn.TEin[1],T3.activation.weaklyInputActiveVec[2],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.NoTokens,P2.enableOut.TEout_[1],P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.endWhile,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.cumEnablingProb[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],P2.enableOut.Index,P2.enableOut.arcWeightSum,P2.enableOut.disTAout[1],$whenCondition4,P2.enableOut.TEout[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[2],P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[2],P1.enableOut.TEout[1],P1.enableIn.TEin_[1],P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 75 * Array equations: 2 * Algorithm blocks: 19 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009165/0.09443, allocations: 0.5987 MB / 396.5 MB, free: 5.559 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004786/0.09921, allocations: 5.574 MB / 402.1 MB, free: 15.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.3e-05/0.09925, allocations: 19.69 kB / 402.1 MB, free: 15.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003008/0.1023, allocations: 3.672 MB / 405.8 MB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007661/0.103, allocations: 290.9 kB / 406.1 MB, free: 11.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007032/0.1101, allocations: 5.887 MB / 412 MB, free: 5.039 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.1105, allocations: 494.9 kB / 412.4 MB, free: 4.523 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004092/0.1109, allocations: 183.7 kB / 412.6 MB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001637/0.1125, allocations: 0.749 MB / 413.4 MB, free: 3.59 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1125, allocations: 0 / 413.4 MB, free: 3.59 MB / 378.7 MB Notification: Performance of Templates: time 0.1374/0.2499, allocations: 39.97 MB / 453.3 MB, free: 143.4 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.ExtTest.TATest.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.ExtTest.TATest.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TATest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TATest.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TATest.sim & ./PNlib_PNlib.Examples.ExtTest.TATest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ExtTest.TATest.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TATest_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TATest.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5612945538014174]