Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPD.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.000925/0.000925, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.00097/0.00097, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9755/0.9755, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.04907/0.04907, allocations: 12.65 MB / 273.7 MB, free: 328 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.DisTest.TDtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPD") translateModel(PNlib.Examples.DisTest.TDtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 347.7 MB, free: 1.641 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.216e-05, allocations: 5.703 kB / 347.7 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.00694/0.006972, allocations: 1.75 MB / 349.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006813/0.01379, allocations: 1.855 MB / 351.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003495/0.01728, allocations: 7.938 kB / 351.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004252/0.01771, allocations: 111.1 kB / 351.4 MB, free: 13.9 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000463/0.01817, allocations: 135.1 kB / 351.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.02039, allocations: 0.9653 MB / 352.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001736/0.02213, allocations: 1.334 MB / 353.9 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.02235, allocations: 64.33 kB / 353.9 MB, free: 11.4 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.02337, allocations: 0.7565 MB / 354.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002611/0.02598, allocations: 279.1 kB / 355 MB, free: 10.37 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003047/0.02628, allocations: 72 kB / 355 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.0274, allocations: 0.5965 MB / 355.6 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.02759, allocations: 139.3 kB / 355.8 MB, free: 9.566 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000344/0.02793, allocations: 243.4 kB / 356 MB, free: 9.328 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.02936, allocations: 0.9583 MB / 356.9 MB, free: 8.367 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.02937, allocations: 0 / 356.9 MB, free: 8.367 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.02937, allocations: 0 / 356.9 MB, free: 8.367 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.02938, allocations: 4 kB / 357 MB, free: 8.363 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.00162/0.031, allocations: 1.251 MB / 358.2 MB, free: 7.008 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.03104, allocations: 8.031 kB / 358.2 MB, free: 7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003641/0.0314, allocations: 140.5 kB / 358.3 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.03185, allocations: 323.6 kB / 358.7 MB, free: 6.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.03196, allocations: 101 kB / 358.8 MB, free: 6.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.03206, allocations: 75.92 kB / 358.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.03352, allocations: 1.206 MB / 360 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.03354, allocations: 3.938 kB / 360 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.492e-05/0.03361, allocations: 35.98 kB / 360.1 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.311e-05/0.03369, allocations: 44.97 kB / 360.1 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007845/0.03448, allocations: 0.6524 MB / 360.8 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00298/0.03746, allocations: 3.24 MB / 364 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007181/0.03818, allocations: 0.6179 MB / 364.6 MB, free: 128 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005601/0.03874, allocations: 0.5413 MB / 365.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/0.03878, allocations: 8.234 kB / 365.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009085/0.03969, allocations: 0.8857 MB / 366.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 4.288e-06/0.0397, allocations: 3.984 kB / 366.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.001726/0.04142, allocations: 2.204 MB / 368.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001867/0.04161, allocations: 0.5364 MB / 368.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.04183, allocations: 393.7 kB / 369.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/0.04187, allocations: 65.69 kB / 369.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.042, allocations: 299.7 kB / 369.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.04211, allocations: 190.7 kB / 369.7 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.0423, allocations: 232.1 kB / 370 MB, free: 10.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004083/0.04271, allocations: 0.5507 MB / 370.5 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.04293, allocations: 411.2 kB / 370.9 MB, free: 9.316 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/0.04337, allocations: 0.9938 MB / 371.9 MB, free: 8.027 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007997/0.04417, allocations: 1.501 MB / 373.4 MB, free: 6.191 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.04418, allocations: 4 kB / 373.4 MB, free: 6.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.0009778/0.04516, allocations: 1.391 MB / 374.8 MB, free: 4.668 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.04527, allocations: 312.1 kB / 375.1 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.04528, allocations: 12 kB / 375.1 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.0453, allocations: 16 kB / 375.1 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.04557, allocations: 155.9 kB / 375.3 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.04559, allocations: 23.92 kB / 375.3 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.0458, allocations: 103.4 kB / 375.4 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/0.04584, allocations: 44 kB / 375.5 MB, free: 3.957 MB / 298.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" 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 T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 T1.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 118 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$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.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,P1.inTransition[1].emptied,P1.enableIn.disTransition[1],P1.reStart,P1.inTransition[1].disPlace,T1.outPlaces[1].disTransition,T1.firingCon,$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.activation.disPlaceOut[1],P1.enableIn.arcWeight[1],T1.enabledByInPlaces,T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004354/0.04628, allocations: 0.6693 MB / 376.1 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.04639, allocations: 115.7 kB / 376.2 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.04767, allocations: 1.457 MB / 377.7 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.04767, allocations: 4 kB / 377.7 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.04767, allocations: 0 / 377.7 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.04768, allocations: 3.984 kB / 377.7 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.04942, allocations: 2.113 MB / 379.8 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.04942, allocations: 0 / 379.8 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.444e-05/0.04949, allocations: 27.98 kB / 379.9 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.04949, allocations: 0 / 379.9 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.771e-05/0.04954, allocations: 35.98 kB / 379.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.04954, allocations: 4 kB / 379.9 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.04955, allocations: 7.938 kB / 379.9 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.05103, allocations: 2.039 MB / 381.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.141e-05/0.05106, allocations: 43.62 kB / 382 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.05116, allocations: 63.98 kB / 382 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.05134, allocations: 51.97 kB / 382.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.05146, allocations: 79.89 kB / 382.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-05/0.05151, allocations: 39.97 kB / 382.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.333e-05/0.0516, allocations: 203 kB / 382.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0516, allocations: 7.938 kB / 382.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00055/0.05215, allocations: 315.4 kB / 382.7 MB, free: 12.33 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 66 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.TAein[1],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.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.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,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,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000498/0.05265, allocations: 404.8 kB / 383.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.05385, allocations: 1.811 MB / 384.9 MB, free: 9.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.05386, allocations: 0 / 384.9 MB, free: 9.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006438/0.0545, allocations: 1.181 MB / 386.1 MB, free: 8.578 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.05481, allocations: 88.11 kB / 386.2 MB, free: 8.496 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.0562, allocations: 1.507 MB / 387.7 MB, free: 6.898 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.981e-05/0.05629, allocations: 147.7 kB / 387.8 MB, free: 6.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.05641, allocations: 68.72 kB / 387.9 MB, free: 6.664 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/0.05683, allocations: 298.1 kB / 388.2 MB, free: 6.371 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.05683, allocations: 4 kB / 388.2 MB, free: 6.367 MB / 314.7 MB Notification: Performance of Templates: time 0.013/0.06983, allocations: 12.26 MB / 400.5 MB, free: 10.12 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.TDtoPD.makefile [Timeout 660] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPD.sim & ./PNlib_PNlib.Examples.DisTest.TDtoPD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.TDtoPD.pipe 2>&1) [Timeout 240] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.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.420010230038315]