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.001194/0.001194, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001285/0.001285, allocations: 173 kB / 23.02 MB, free: 1.551 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.9796/0.9796, allocations: 177.2 MB / 203.4 MB, free: 5.637 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.04648/0.04648, allocations: 12.65 MB / 272.6 MB, free: 0.5078 MB / 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.884e-06/1.884e-06, allocations: 0 / 346.5 MB, free: 1.949 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.873e-05, allocations: 4.703 kB / 346.5 MB, free: 1.945 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TATest): time 0.003529/0.003558, allocations: 3.632 MB / 350.1 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004559/0.008117, allocations: 2.749 MB / 352.8 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007771/0.008894, allocations: 27.81 kB / 352.9 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006746/0.009568, allocations: 353.2 kB / 353.2 MB, free: 11.17 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.01058, allocations: 472.9 kB / 353.7 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.01297, allocations: 1.317 MB / 355 MB, free: 9.391 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003452/0.01642, allocations: 3.537 MB / 358.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005697/0.01699, allocations: 366.6 kB / 358.9 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/0.01942, allocations: 2.125 MB / 361 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.02094, allocations: 1.161 MB / 362.2 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007497/0.02169, allocations: 328 kB / 362.5 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.02281, allocations: 0.8543 MB / 363.4 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005132/0.02332, allocations: 0.7002 MB / 364.1 MB, free: 280 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.0248, allocations: 1.005 MB / 365.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003749/0.02855, allocations: 3.049 MB / 368.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.02855, allocations: 4 kB / 368.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.02855, allocations: 0 / 368.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.946e-05/0.02863, allocations: 0 / 368.1 MB, free: 12.2 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: 743 * Number of variables: 743 Notification: Performance of Generate backend data structure: time 0.004082/0.03272, allocations: 4.137 MB / 372.2 MB, free: 7.852 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.03276, allocations: 12.03 kB / 372.3 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.03423, allocations: 0.869 MB / 373.1 MB, free: 6.969 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.03535, allocations: 1.009 MB / 374.1 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005669/0.03592, allocations: 1.294 MB / 375.4 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003043/0.03622, allocations: 328 kB / 375.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005042/0.04126, allocations: 5.469 MB / 381.2 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.689e-05/0.04131, allocations: 7.938 kB / 381.2 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000207/0.04152, allocations: 151.9 kB / 381.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002532/0.04177, allocations: 280.5 kB / 381.6 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003845/0.04562, allocations: 3.32 MB / 385 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009526/0.05514, allocations: 9.915 MB / 394.9 MB, free: 32 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002773/0.05791, allocations: 2.706 MB / 397.6 MB, free: 13.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002006/0.05992, allocations: 2.499 MB / 400.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002057/0.06013, allocations: 84.8 kB / 400.2 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002608/0.06273, allocations: 3.189 MB / 403.4 MB, free: 7.121 MB / 330.7 MB Notification: Performance of pre-optimization done (n=212): time 4.458e-06/0.06274, allocations: 0 / 403.4 MB, free: 7.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=212): time 0.1453/0.208, allocations: 9.111 MB / 412.5 MB, free: 70.31 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006627/0.2087, allocations: 1.266 MB / 413.7 MB, free: 69.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.2101, allocations: 1.019 MB / 414.8 MB, free: 68.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002986/0.2104, allocations: 127.3 kB / 414.9 MB, free: 68.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006452/0.211, allocations: 0.9686 MB / 415.9 MB, free: 68.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005646/0.2116, allocations: 0.6041 MB / 416.5 MB, free: 68.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/0.2128, allocations: 0.8016 MB / 417.3 MB, free: 68.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.2129, allocations: 0.5 MB / 417.8 MB, free: 67.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/0.2148, allocations: 1.771 MB / 419.5 MB, free: 66.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002639/0.2174, allocations: 3.504 MB / 423 MB, free: 63.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003097/0.2205, allocations: 4.219 MB / 427.3 MB, free: 60.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.204e-05/0.2206, allocations: 7.906 kB / 427.3 MB, free: 60.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.005366/0.2259, allocations: 5.224 MB / 432.5 MB, free: 56.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002692/0.2262, allocations: 0.7889 MB / 433.3 MB, free: 55.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002987/0.2292, allocations: 3.306 MB / 436.6 MB, free: 52.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.2302, allocations: 440.9 kB / 437 MB, free: 52.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009034/0.2311, allocations: 424.2 kB / 437.4 MB, free: 52.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006983/0.2318, allocations: 1.118 MB / 438.5 MB, free: 51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.233, allocations: 367.7 kB / 438.9 MB, free: 50.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/0.2332, allocations: 164 kB / 439.1 MB, free: 50.48 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,T3.firingCon,T3.inPlaces[2].disTransition,P1.outTransition[2].normalArc,P1.outTransition[2].testValueint,P1.outTransition[2].arcType,P1.outTransition[2].disPlace,P1.outTransition[2].minTokensint,P1.outTransition[2].tint,T3.inPlaces[1].disTransition,P2.outTransition[1].disPlace,P2.outTransition[1].minTokensint,P2.outTransition[1].tint,T2.firingCon,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.firingCon,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P2.reStart,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.vec[2],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P2.disMarksOut.vec[1],P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,TA2.outTransition.arcType,T2.fire_,TA1.outTransition.arcType,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedIn.vec[1],P2.delayPassedOut.vec[1],P2.delayPassedIn.vec[1],T1.activation.testValueInt[1],T3.activation.testValueInt[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T2.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T3.activation.arcWeightIntIn[2],T3.activation.normalArc[2],T3.activation.testValueInt[2],T3.activation.arcType[2],T3.activation.disPlaceIn[2],T3.activation.minTokensInt[2],T3.activation.tIntIn[2],T3.activation.disPlaceIn[1],T3.activation.minTokensInt[1],T3.activation.tIntIn[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],P2.outTransition[1].arcWeightint,P1.outTransition[1].arcWeightint,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,P2.outTransition[1].normalArc,P2.outTransition[1].testValueint,P2.outTransition[1].arcType,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType) * 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.001628/0.2348, allocations: 1.544 MB / 440.6 MB, free: 48.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005909/0.2354, allocations: 347.2 kB / 440.9 MB, free: 48.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006316/0.2417, allocations: 6.837 MB / 447.8 MB, free: 41.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/0.2417, allocations: 13.86 kB / 447.8 MB, free: 41.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2417, allocations: 4 kB / 447.8 MB, free: 41.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.2418, allocations: 11.95 kB / 447.8 MB, free: 41.4 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008074/0.2498, allocations: 8.464 MB / 456.3 MB, free: 32.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006102/0.2559, allocations: 6.621 MB / 462.9 MB, free: 25.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.2562, allocations: 91.83 kB / 463 MB, free: 25.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006306/0.2568, allocations: 352.9 kB / 463.3 MB, free: 25.39 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001979/0.257, allocations: 125.7 kB / 463.4 MB, free: 25.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006454/0.2577, allocations: 1.062 MB / 464.5 MB, free: 24.17 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.2577, allocations: 7.875 kB / 464.5 MB, free: 24.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00867/0.2663, allocations: 10.25 MB / 474.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.2665, allocations: 139.9 kB / 474.9 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003164/0.2668, allocations: 195.9 kB / 475.1 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005652/0.2674, allocations: 207.9 kB / 475.3 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00063/0.268, allocations: 0.6797 MB / 476 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/0.2682, allocations: 139.9 kB / 476.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002506/0.2684, allocations: 399 kB / 476.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2684, allocations: 0 / 476.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001759/0.2702, allocations: 0.9119 MB / 477.4 MB, free: 10.89 MB / 330.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.0007203/0.2709, allocations: 0.6048 MB / 478 MB, free: 10.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004504/0.2754, allocations: 6.735 MB / 484.8 MB, free: 3.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.2754, allocations: 0 / 484.8 MB, free: 3.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002891/0.2783, allocations: 4.35 MB / 489.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006724/0.279, allocations: 301.6 kB / 489.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008242/0.2872, allocations: 6.205 MB / 495.6 MB, free: 7.645 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.2876, allocations: 0.5028 MB / 496.1 MB, free: 7.105 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007079/0.2883, allocations: 391.2 kB / 496.5 MB, free: 6.719 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.2886, allocations: 108.5 kB / 496.6 MB, free: 6.613 MB / 346.7 MB Notification: Performance of SimCode: time 2.445e-06/0.2886, allocations: 0 / 496.6 MB, free: 6.613 MB / 346.7 MB Notification: Performance of Templates: time 0.04362/0.3322, allocations: 39.83 MB / 0.5239 GB, free: 14.68 MB / 394.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.9457743889652193]