Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.Speed.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.001079/0.001079, allocations: 86.05 kB / 19.87 MB, free: 4.609 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.001448/0.001448, allocations: 165.7 kB / 23.27 MB, free: 1.215 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 1.021/1.021, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.05502/0.05502, allocations: 12.66 MB / 272.9 MB, free: 344 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.ConTest.Speed,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.ConTest.Speed") translateModel(PNlib.Examples.ConTest.Speed,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.ConTest.Speed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 346.9 MB, free: 1.676 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/3.042e-05, allocations: 2.312 kB / 346.9 MB, free: 1.672 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.Speed): time 0.003542/0.003573, allocations: 3.129 MB / 350 MB, free: 14.53 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004255/0.007828, allocations: 2.644 MB / 352.7 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006895/0.008518, allocations: 27.81 kB / 352.7 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006119/0.009129, allocations: 321.6 kB / 353 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008038/0.009933, allocations: 385.4 kB / 353.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.01228, allocations: 1.294 MB / 354.7 MB, free: 9.863 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003713/0.01599, allocations: 3.241 MB / 357.9 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00046/0.01645, allocations: 223.1 kB / 358.2 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002858/0.01931, allocations: 1.872 MB / 360 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.02098, allocations: 0.8995 MB / 360.9 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005985/0.02157, allocations: 236 kB / 361.2 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.02288, allocations: 0.7567 MB / 361.9 MB, free: 2.602 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004176/0.0233, allocations: 0.5096 MB / 362.4 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007729/0.02407, allocations: 0.7482 MB / 363.2 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003155/0.02723, allocations: 2.313 MB / 365.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.02723, allocations: 0 / 365.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.02723, allocations: 0 / 365.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.812e-05/0.02726, allocations: 3.938 kB / 365.5 MB, free: 15.02 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: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.003465/0.03073, allocations: 3.344 MB / 368.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.03077, allocations: 8.031 kB / 368.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.03198, allocations: 0.6361 MB / 369.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008756/0.03286, allocations: 0.721 MB / 370.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006919/0.03355, allocations: 0.8009 MB / 371 MB, free: 9.121 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002325/0.03378, allocations: 240 kB / 371.2 MB, free: 8.887 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003111/0.03689, allocations: 3.476 MB / 374.7 MB, free: 5.016 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.03693, allocations: 3.938 kB / 374.7 MB, free: 5.012 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.0371, allocations: 115.9 kB / 374.8 MB, free: 4.898 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000233/0.03733, allocations: 207 kB / 375 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.03913, allocations: 1.916 MB / 376.9 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007084/0.04622, allocations: 7.005 MB / 383.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.04796, allocations: 1.686 MB / 385.6 MB, free: 9.605 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/0.04906, allocations: 1.529 MB / 387.2 MB, free: 7.957 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000696/0.04976, allocations: 393.6 kB / 387.5 MB, free: 7.578 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001703/0.05146, allocations: 2.086 MB / 389.6 MB, free: 5.332 MB / 314.7 MB Notification: Performance of pre-optimization done (n=177): time 4.598e-06/0.05146, allocations: 0 / 389.6 MB, free: 5.332 MB / 314.7 MB Notification: Performance of matching and sorting (n=177): time 0.007488/0.05895, allocations: 6.105 MB / 395.7 MB, free: 14.87 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005654/0.05952, allocations: 1.14 MB / 396.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009716/0.06049, allocations: 0.8249 MB / 397.7 MB, free: 12.67 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001805/0.06067, allocations: 113.7 kB / 397.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005965/0.06127, allocations: 0.7305 MB / 398.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007678/0.06203, allocations: 0.5002 MB / 399 MB, free: 11.31 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007883/0.06282, allocations: 0.6452 MB / 399.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.06298, allocations: 0.5042 MB / 400.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.06401, allocations: 1.144 MB / 401.3 MB, free: 8.855 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/0.06577, allocations: 2.584 MB / 403.9 MB, free: 5.547 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003092/0.06886, allocations: 3.492 MB / 407.4 MB, free: 1.309 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.107e-05/0.06889, allocations: 8 kB / 407.4 MB, free: 1.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.004532/0.07342, allocations: 4.07 MB / 411.5 MB, free: 12.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007216/0.07415, allocations: 0.749 MB / 412.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002465/0.07661, allocations: 2.296 MB / 414.5 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008291/0.07744, allocations: 286.1 kB / 414.8 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007906/0.07823, allocations: 351.3 kB / 415.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007535/0.07898, allocations: 1.018 MB / 416.2 MB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.08001, allocations: 294.1 kB / 416.5 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/0.08021, allocations: 128 kB / 416.6 MB, free: 7.484 MB / 346.7 MB Warning: Assuming fixed start value for the following 36 variables: P2.enableOut.Index:DISCRETE(fixed = true protected = true ) 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.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.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.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: 117 * Number of states: 0 () * Number of discrete variables: 265 ($PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,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],$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,$whenCondition6,$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[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[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,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[2],$PRE.P1.enableIn.cumEnablingProb[2],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[2],$PRE.P1.enableIn.remTAin[2],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[2],$PRE.P1.enableIn.disTAin[2],P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],T3.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition5,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition4,P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,P1.disMarksIn.vec[2],P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,T1.firingCon,P1.reStart,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].disTransition,P1.inTransition[1].tint,P1.inTransition[1].maxTokensint,P1.inTransition[1].disPlace,P1.inTransition[2].tint,P1.inTransition[2].maxTokensint,P1.inTransition[2].disPlace,T2.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].disTransition,T2.firingCon,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.arcType[1],T3.activation.testValueInt[1],T3.activation.normalArc[1],T3.activation.tIntOut[1],T3.activation.maxTokensInt[1],T3.activation.disPlaceOut[1],P2.delayPassedIn.vec[1],T3.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],P1.delayPassedIn.vec[2],P1.delayPassedIn.vec[1],P1.delayPassedOut.vec[1],T1.activation.arcWeightIntOut[1],T1.fire_,T2.fire_,P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.feeding.vec[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.fireIn[1],$PRE.P2.fireIn[1],T3.fire_,T3.activation.NoTokens,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.emptied[1],T3.activation.fed[1],T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.emptied[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[2],P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[2],$PRE.P1.enableIn.TEin[2],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[2],P1.enableIn.TEin_[1],P1.enableIn.active[2],P1.enableIn.active[1],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[2],$PRE.P1.fireIn[2],P1.fireIn[1],$PRE.P1.fireIn[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],$whenCondition3,$whenCondition2,$whenCondition1,P1.outTransition[1].tint,P1.outTransition[1].minTokensint,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T3.inPlaces[1].disTransition,T3.firingCon,P2.reStart,T3.outPlaces[1].enabledByInPlaces,T3.outPlaces[1].disTransition,P2.inTransition[1].tint,P2.inTransition[1].maxTokensint,P2.inTransition[1].disPlace) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 262 * 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 {(3,14)} Notification: Performance of prepare postOptimizeDAE: time 0.001923/0.08214, allocations: 1.404 MB / 418 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005796/0.08272, allocations: 291.3 kB / 418.3 MB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005565/0.08828, allocations: 4.578 MB / 422.9 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/0.08831, allocations: 8 kB / 422.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.08831, allocations: 3.938 kB / 422.9 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.08832, allocations: 3.984 kB / 422.9 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1671/0.2554, allocations: 6.052 MB / 428.9 MB, free: 82.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003957/0.2593, allocations: 4.386 MB / 433.3 MB, free: 81.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.2595, allocations: 63.2 kB / 433.4 MB, free: 81.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004615/0.26, allocations: 225.2 kB / 433.6 MB, free: 81.42 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/0.2602, allocations: 100.8 kB / 433.7 MB, free: 81.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004639/0.2606, allocations: 0.9705 MB / 434.7 MB, free: 80.58 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2606, allocations: 0 / 434.7 MB, free: 80.58 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004951/0.2656, allocations: 7.053 MB / 441.7 MB, free: 76.01 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.2657, allocations: 117 kB / 441.8 MB, free: 75.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002922/0.266, allocations: 171.6 kB / 442 MB, free: 75.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/0.2664, allocations: 144.6 kB / 442.1 MB, free: 75.71 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004592/0.2669, allocations: 374.8 kB / 442.5 MB, free: 75.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/0.267, allocations: 109.6 kB / 442.6 MB, free: 75.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001981/0.2672, allocations: 329.8 kB / 442.9 MB, free: 75.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2672, allocations: 0 / 442.9 MB, free: 75.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001578/0.2688, allocations: 0.7027 MB / 443.6 MB, free: 74.5 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 133 (P2.disMarksInOut,$cse4[1],$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,P1.disMarksInOut,P1.fireIn[1],P1.fireIn[2],P1.fireOut[1],P1.enableIn.active[1],P1.enableIn.active[2],P1.enableIn.TEin_[1],P1.enableIn.TEin_[2],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.TEin[2],P1.enableIn.disTAin[1],P1.enableIn.disTAin[2],P1.enableIn.remTAin[1],P1.enableIn.remTAin[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[2],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.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.disTAout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],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.vec[2],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.inPlaces[1].tokenInOut,T3.activation.fed[1],T3.activation.emptied[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.NoTokens,T3.fire_,P2.fireIn[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.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.anytrue,P2.emptying.numtrue,$whenCondition6,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],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) * Number of discrete states: 117 (P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.Index,P2.enableOut.endWhile,P2.enableOut.sumEnablingProbTAout,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.arcWeightSum,$whenCondition6,P1.disMarksInOut,P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireIn[2],P1.fireIn[1],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,P1.emptying.numtrue,P1.emptying.anytrue,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.NoTokens,P1.feeding.numtrue,P1.feeding.anytrue,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.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],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,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[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.enableIn.TEin_[2],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[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[2],P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[2],P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 52 * Array equations: 1 * 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 {(3,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006862/0.2695, allocations: 0.5534 MB / 444.2 MB, free: 74.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003079/0.2726, allocations: 4.927 MB / 449.1 MB, free: 69.13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.2726, allocations: 3.969 kB / 449.1 MB, free: 69.13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.2741, allocations: 3.196 MB / 452.3 MB, free: 65.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/0.2747, allocations: 238.2 kB / 452.5 MB, free: 65.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004511/0.2792, allocations: 4.324 MB / 456.9 MB, free: 61.1 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.2796, allocations: 403.7 kB / 457.3 MB, free: 60.67 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004138/0.28, allocations: 154.7 kB / 457.4 MB, free: 60.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/0.2812, allocations: 0.6598 MB / 458.1 MB, free: 59.9 MB / 346.7 MB Notification: Performance of SimCode: time 3.216e-06/0.2812, allocations: 0 / 458.1 MB, free: 59.9 MB / 346.7 MB Notification: Performance of Templates: time 0.0332/0.3144, allocations: 31.34 MB / 489.4 MB, free: 28.72 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.ConTest.Speed.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.ConTest.Speed.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.Speed.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.Speed.pipe >> ../files/PNlib_PNlib.Examples.ConTest.Speed.sim & ./PNlib_PNlib.Examples.ConTest.Speed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ConTest.Speed.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.ConTest.Speed_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.Speed.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.877634533215314]