Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.0008944/0.0008944, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008243/0.0008243, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8733/0.8733, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.04838/0.04838, allocations: 12.64 MB / 271.8 MB, free: 0.7305 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.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 402.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712e-05/1.891e-05, allocations: 2.281 kB / 402.2 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.002108/0.002127, allocations: 1.745 MB / 404 MB, free: 8.918 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002296/0.004423, allocations: 1.851 MB / 405.8 MB, free: 7.062 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.0046, allocations: 15.88 kB / 405.9 MB, free: 7.047 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.004888, allocations: 111.1 kB / 406 MB, free: 6.938 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.005184, allocations: 131 kB / 406.1 MB, free: 6.809 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.006418, allocations: 0.947 MB / 407 MB, free: 5.859 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008634/0.007281, allocations: 1.338 MB / 408.4 MB, free: 4.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.007416, allocations: 60.39 kB / 408.4 MB, free: 4.453 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005594/0.007976, allocations: 0.7565 MB / 409.2 MB, free: 3.695 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003147/0.00829, allocations: 287.1 kB / 409.5 MB, free: 3.414 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.72e-05/0.008358, allocations: 72 kB / 409.5 MB, free: 3.344 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005022/0.00886, allocations: 0.5887 MB / 410.1 MB, free: 2.754 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.008979, allocations: 143.3 kB / 410.3 MB, free: 2.613 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.009156, allocations: 239.4 kB / 410.5 MB, free: 2.379 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009022/0.01006, allocations: 1.192 MB / 411.7 MB, free: 1.184 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.01006, allocations: 0 / 411.7 MB, free: 1.184 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01006, allocations: 0 / 411.7 MB, free: 1.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.01007, allocations: 0 / 411.7 MB, free: 1.184 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001097/0.01117, allocations: 1.136 MB / 412.8 MB, free: 15.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.0112, allocations: 12.03 kB / 412.8 MB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.363e-05/0.0113, allocations: 114.6 kB / 413 MB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.01148, allocations: 84.55 kB / 413 MB, free: 15.74 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.01184, allocations: 340.8 kB / 413.4 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.837e-05/0.01192, allocations: 108.7 kB / 413.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.344e-05/0.01199, allocations: 67.98 kB / 413.5 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.01367, allocations: 1.552 MB / 415.1 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.01369, allocations: 3.938 kB / 415.1 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-05/0.01376, allocations: 28 kB / 415.1 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.609e-05/0.01384, allocations: 52.95 kB / 415.2 MB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.01517, allocations: 1.052 MB / 416.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002612/0.01778, allocations: 2.727 MB / 419 MB, free: 9.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.01884, allocations: 0.9249 MB / 419.9 MB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008997/0.01974, allocations: 0.793 MB / 420.7 MB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.323e-05/0.01978, allocations: 11.98 kB / 420.7 MB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.02078, allocations: 1.155 MB / 421.8 MB, free: 6.367 MB / 394.7 MB Notification: Performance of pre-optimization done (n=75): time 1.663e-06/0.02079, allocations: 0 / 421.8 MB, free: 6.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=75): time 0.002393/0.02318, allocations: 2.961 MB / 424.8 MB, free: 3.258 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/0.02337, allocations: 0.5114 MB / 425.3 MB, free: 2.648 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.02363, allocations: 372.2 kB / 425.7 MB, free: 2.281 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.508e-05/0.02368, allocations: 65.69 kB / 425.7 MB, free: 2.211 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.0238, allocations: 241.2 kB / 426 MB, free: 1.969 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.02391, allocations: 186.6 kB / 426.2 MB, free: 1.785 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.02407, allocations: 198.6 kB / 426.4 MB, free: 1.586 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.02418, allocations: 374.7 kB / 426.7 MB, free: 1.211 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000403/0.02459, allocations: 0.5968 MB / 427.3 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005714/0.02516, allocations: 1.017 MB / 428.3 MB, free: 15.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.02665, allocations: 2.059 MB / 430.4 MB, free: 12.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.02667, allocations: 4 kB / 430.4 MB, free: 12.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001351/0.02802, allocations: 1.776 MB / 432.2 MB, free: 11.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.02813, allocations: 309 kB / 432.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.02814, allocations: 12 kB / 432.5 MB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.02816, allocations: 16 kB / 432.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.02834, allocations: 108.4 kB / 432.6 MB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/0.02836, allocations: 27.86 kB / 432.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.0286, allocations: 111.3 kB / 432.7 MB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-05/0.02865, allocations: 48 kB / 432.8 MB, free: 10.35 MB / 410.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: 46 * 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,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.disPlaceOut[1],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.enableIn.arcWeight[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,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 112 * 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.0005188/0.02917, allocations: 0.7039 MB / 433.5 MB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.639e-05/0.02926, allocations: 75.66 kB / 433.6 MB, free: 9.504 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.031, allocations: 1.973 MB / 435.5 MB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.031, allocations: 4 kB / 435.5 MB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.03101, allocations: 4 kB / 435.5 MB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.03101, allocations: 3.984 kB / 435.6 MB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.03337, allocations: 2.735 MB / 438.3 MB, free: 4.602 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.03337, allocations: 0 / 438.3 MB, free: 4.602 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.085e-05/0.03344, allocations: 35.92 kB / 438.3 MB, free: 4.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.03344, allocations: 4 kB / 438.3 MB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.013e-05/0.03349, allocations: 35.98 kB / 438.4 MB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.0335, allocations: 3.938 kB / 438.4 MB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.0335, allocations: 0 / 438.4 MB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.03545, allocations: 2.498 MB / 440.9 MB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.0355, allocations: 55.56 kB / 440.9 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.03561, allocations: 63.98 kB / 441 MB, free: 1.785 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.03579, allocations: 63.89 kB / 441 MB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.03592, allocations: 83.84 kB / 441.1 MB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.349e-05/0.03597, allocations: 43.98 kB / 441.2 MB, free: 1.598 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001437/0.03611, allocations: 227 kB / 441.4 MB, free: 1.379 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03611, allocations: 0 / 441.4 MB, free: 1.379 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005979/0.03671, allocations: 307.5 kB / 441.7 MB, free: 1.078 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: 67 ($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.arcWeight[1],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 (37): * Single equations (assignments): 25 * 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.1504/0.1871, allocations: 3.317 MB / 445 MB, free: 79.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.1887, allocations: 2.319 MB / 447.3 MB, free: 78.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.1887, allocations: 0 / 447.3 MB, free: 78.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007739/0.1895, allocations: 1.434 MB / 448.8 MB, free: 77.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.1899, allocations: 95.22 kB / 448.9 MB, free: 77.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005886/0.1958, allocations: 8.559 MB / 457.4 MB, free: 71.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.196, allocations: 300 kB / 457.7 MB, free: 71.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002262/0.1962, allocations: 123.9 kB / 457.8 MB, free: 71.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.1964, allocations: 175.1 kB / 458 MB, free: 71.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1964, allocations: 0 / 458 MB, free: 71.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.2235, allocations: 16.78 MB / 474.8 MB, free: 68.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.292/7.515, allocations: 2.875 kB / 474.8 MB, free: 68.66 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPDfunction_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TDtoPDfunction.fmu > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.270716975443065]