Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.0008591/0.0008591, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 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.0008397/0.0008397, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8636/0.8636, allocations: 177.1 MB / 202.8 MB, free: 5.711 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.04736/0.04736, allocations: 12.65 MB / 271.8 MB, free: 0.6914 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: "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 402.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.756e-05, allocations: 2.281 kB / 402.2 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.001913/0.001931, allocations: 1.75 MB / 404 MB, free: 8.895 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.004078, allocations: 1.847 MB / 405.8 MB, free: 7.043 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.004229, allocations: 11.94 kB / 405.8 MB, free: 7.031 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.004511, allocations: 115 kB / 406 MB, free: 6.918 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.004811, allocations: 147 kB / 406.1 MB, free: 6.773 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.006244, allocations: 0.9392 MB / 407 MB, free: 5.832 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008424/0.007086, allocations: 1.353 MB / 408.4 MB, free: 4.477 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.007228, allocations: 65.25 kB / 408.5 MB, free: 4.406 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005217/0.00775, allocations: 0.7643 MB / 409.2 MB, free: 3.641 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.008067, allocations: 315 kB / 409.5 MB, free: 3.332 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.328e-05/0.008151, allocations: 88 kB / 409.6 MB, free: 3.246 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005404/0.008691, allocations: 0.6083 MB / 410.2 MB, free: 2.637 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.008822, allocations: 155.2 kB / 410.4 MB, free: 2.484 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002212/0.009043, allocations: 291.4 kB / 410.7 MB, free: 2.199 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009229/0.009966, allocations: 1.352 MB / 412 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.009968, allocations: 0 / 412 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.00997, allocations: 4 kB / 412 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.009976, allocations: 0 / 412 MB, free: 0.8398 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001132/0.01111, allocations: 1.206 MB / 413.2 MB, free: 15.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.01115, allocations: 8.031 kB / 413.2 MB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.01125, allocations: 118.7 kB / 413.3 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.01145, allocations: 96.5 kB / 413.4 MB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.0121, allocations: 372.7 kB / 413.8 MB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.52e-05/0.01219, allocations: 112.8 kB / 413.9 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-05/0.01227, allocations: 79.97 kB / 414 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.01371, allocations: 1.8 MB / 415.8 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.01373, allocations: 0 / 415.8 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.01378, allocations: 35.98 kB / 415.8 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.578e-05/0.01385, allocations: 56.95 kB / 415.9 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.01493, allocations: 1.243 MB / 417.1 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/0.01729, allocations: 2.997 MB / 420.1 MB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.01842, allocations: 1.003 MB / 421.1 MB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007084/0.01913, allocations: 0.9177 MB / 422 MB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.01917, allocations: 12 kB / 422.1 MB, free: 6.211 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.02025, allocations: 1.259 MB / 423.3 MB, free: 4.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=75): time 1.683e-06/0.02025, allocations: 0 / 423.3 MB, free: 4.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=75): time 0.002801/0.02305, allocations: 3.342 MB / 426.7 MB, free: 1.367 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002268/0.02328, allocations: 0.556 MB / 427.2 MB, free: 0.707 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.02357, allocations: 433.2 kB / 427.6 MB, free: 288 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003522/0.02392, allocations: 69.69 kB / 427.7 MB, free: 212 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.02408, allocations: 277.1 kB / 428 MB, free: 15.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.02419, allocations: 194.6 kB / 428.2 MB, free: 15.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.02439, allocations: 234.5 kB / 428.4 MB, free: 15.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.0245, allocations: 378.7 kB / 428.8 MB, free: 15.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005401/0.02504, allocations: 0.7451 MB / 429.5 MB, free: 14.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007192/0.02576, allocations: 1.227 MB / 430.7 MB, free: 12.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/0.02765, allocations: 2.56 MB / 433.3 MB, free: 9.938 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.02766, allocations: 4 kB / 433.3 MB, free: 9.934 MB / 410.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001911/0.02957, allocations: 2.178 MB / 435.5 MB, free: 7.625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.0297, allocations: 333.9 kB / 435.8 MB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.02972, allocations: 12 kB / 435.8 MB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.02974, allocations: 24 kB / 435.8 MB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.02995, allocations: 119.7 kB / 436 MB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.02997, allocations: 19.94 kB / 436 MB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.03024, allocations: 139.2 kB / 436.1 MB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.753e-05/0.0303, allocations: 52 kB / 436.2 MB, free: 6.879 MB / 410.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" 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 ) \"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.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 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: 52 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$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.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 124 * Array equations: 1 * 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.0005313/0.03083, allocations: 0.772 MB / 436.9 MB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.03092, allocations: 75.67 kB / 437 MB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.03286, allocations: 2.328 MB / 439.3 MB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.03287, allocations: 8 kB / 439.3 MB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.03288, allocations: 4 kB / 439.3 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.03288, allocations: 0 / 439.3 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003016/0.0359, allocations: 3.163 MB / 442.5 MB, free: 264 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.0359, allocations: 0 / 442.5 MB, free: 264 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.03596, allocations: 23.92 kB / 442.5 MB, free: 240 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.03596, allocations: 4 kB / 442.5 MB, free: 236 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.818e-05/0.03602, allocations: 43.95 kB / 442.6 MB, free: 192 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.03603, allocations: 0 / 442.6 MB, free: 192 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.03603, allocations: 4 kB / 442.6 MB, free: 188 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1471/0.1831, allocations: 2.798 MB / 445.4 MB, free: 79.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.748e-05/0.1832, allocations: 50.64 kB / 445.4 MB, free: 79.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.1833, allocations: 76.92 kB / 445.5 MB, free: 79.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.1836, allocations: 69.25 kB / 445.6 MB, free: 79.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000359/0.1839, allocations: 336.7 kB / 445.9 MB, free: 79.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.609e-05/0.184, allocations: 48.7 kB / 445.9 MB, free: 79.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001663/0.1842, allocations: 251.2 kB / 446.2 MB, free: 79.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1842, allocations: 0 / 446.2 MB, free: 79.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007376/0.1849, allocations: 341.5 kB / 446.5 MB, free: 79.42 MB / 410.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: 68 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,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.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.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,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,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * Array equations: 1 * 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.002631/0.1875, allocations: 3.627 MB / 450.2 MB, free: 77.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001688/0.1892, allocations: 2.612 MB / 452.8 MB, free: 75.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1892, allocations: 3.312 kB / 452.8 MB, free: 75.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008818/0.1901, allocations: 1.579 MB / 454.3 MB, free: 74.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.1905, allocations: 108.9 kB / 454.5 MB, free: 74.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006629/0.1971, allocations: 9.567 MB / 464 MB, free: 68.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.1973, allocations: 320.5 kB / 464.3 MB, free: 68.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002444/0.1976, allocations: 149.1 kB / 464.5 MB, free: 68.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.1977, allocations: 195.2 kB / 464.7 MB, free: 68.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.1977, allocations: 0 / 464.7 MB, free: 68.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.2288, allocations: 19.5 MB / 484.2 MB, free: 64.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.326/7.554, allocations: 9.094 kB / 484.2 MB, free: 64.93 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTD.fmu > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.319849842227995]