Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 102.7 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 192.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.0797/0.0797, allocations: 16.98 MB / 319.7 MB, free: 9.102 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 67.89 kB / 446.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1113, allocations: 56.41 MB / 0.4907 GB, free: 3.371 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.003437/0.1148, allocations: 1.866 MB / 0.4925 GB, free: 1.496 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004709/0.1195, allocations: 1.935 MB / 0.4944 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005392/0.12, allocations: 7.938 kB / 0.4944 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004408/0.1205, allocations: 123 kB / 0.4946 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005465/0.121, allocations: 158.9 kB / 0.4947 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.1232, allocations: 0.9008 MB / 0.4956 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001984/0.1252, allocations: 1.392 MB / 0.497 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003776/0.1256, allocations: 171.1 kB / 0.4971 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009445/0.1265, allocations: 0.5726 MB / 0.4977 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007838/0.1273, allocations: 0.5252 MB / 0.4982 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.1275, allocations: 140 kB / 0.4983 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.1289, allocations: 0.8505 MB / 0.4992 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002758/0.1292, allocations: 215.1 kB / 0.4994 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000743/0.1299, allocations: 0.5719 MB / 0.4999 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.1324, allocations: 1.819 MB / 0.5017 GB, free: 8.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1324, allocations: 0 / 0.5017 GB, free: 8.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1324, allocations: 0 / 0.5017 GB, free: 8.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.1324, allocations: 0 / 0.5017 GB, free: 8.094 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.002323/0.1347, allocations: 1.579 MB / 0.5032 GB, free: 6.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.1347, allocations: 11.89 kB / 0.5032 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002255/0.135, allocations: 168 kB / 0.5034 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004282/0.1354, allocations: 132.4 kB / 0.5035 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009244/0.1363, allocations: 0.5504 MB / 0.5041 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.1365, allocations: 137.4 kB / 0.5042 GB, free: 5.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/0.1367, allocations: 116 kB / 0.5043 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003219/0.1399, allocations: 2.036 MB / 0.5063 GB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.1399, allocations: 3.938 kB / 0.5063 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.1401, allocations: 55.97 kB / 0.5064 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/0.1402, allocations: 93.23 kB / 0.5064 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/0.1428, allocations: 1.43 MB / 0.5078 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2138/0.3566, allocations: 4.245 MB / 0.512 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.3581, allocations: 1.014 MB / 0.513 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.3594, allocations: 0.9318 MB / 0.5139 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.3595, allocations: 85.83 kB / 0.514 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002094/0.3616, allocations: 1.305 MB / 0.5152 GB, free: 15.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 2.645e-06/0.3616, allocations: 1.125 kB / 0.5152 GB, free: 15.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.005356/0.367, allocations: 3.973 MB / 0.5191 GB, free: 14.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003139/0.3673, allocations: 0.6585 MB / 0.5198 GB, free: 14.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005979/0.3679, allocations: 0.5131 MB / 0.5203 GB, free: 14.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.368, allocations: 76.59 kB / 0.5203 GB, free: 14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.3682, allocations: 365.9 kB / 0.5207 GB, free: 13.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.3684, allocations: 239.6 kB / 0.5209 GB, free: 13.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/0.3687, allocations: 300.2 kB / 0.5212 GB, free: 13.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.655e-05/0.3688, allocations: 332.7 kB / 0.5215 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008092/0.3696, allocations: 0.5538 MB / 0.5221 GB, free: 13.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.3706, allocations: 1.027 MB / 0.5231 GB, free: 12.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003141/0.3738, allocations: 3.193 MB / 0.5262 GB, free: 10.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.151e-05/0.3738, allocations: 6.312 kB / 0.5262 GB, free: 10.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003049/0.3768, allocations: 2.238 MB / 0.5284 GB, free: 9.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002005/0.377, allocations: 348.3 kB / 0.5287 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.661e-05/0.3771, allocations: 13.81 kB / 0.5287 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.661e-05/0.3771, allocations: 20.94 kB / 0.5287 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005268/0.3777, allocations: 160.9 kB / 0.5289 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.063e-05/0.3777, allocations: 30.52 kB / 0.5289 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007674/0.3785, allocations: 164.2 kB / 0.5291 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.3786, allocations: 74.73 kB / 0.5291 GB, free: 8.656 MB / 382.1 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 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 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: 62 * Number of states: 0 () * Number of discrete variables: 149 ($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.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,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[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.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],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.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[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,$whenCondition1,$whenCondition3,$whenCondition4,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * 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.001379/0.38, allocations: 0.9007 MB / 0.53 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/0.3802, allocations: 105.4 kB / 0.5301 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004762/0.385, allocations: 3.353 MB / 0.5334 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/0.385, allocations: 6.531 kB / 0.5334 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.385, allocations: 1.188 kB / 0.5334 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.385, allocations: 2.953 kB / 0.5334 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006775/0.3918, allocations: 4.774 MB / 0.5381 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.3918, allocations: 0 / 0.5381 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.392, allocations: 36.84 kB / 0.5381 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.392, allocations: 6.156 kB / 0.5381 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/0.3921, allocations: 54.17 kB / 0.5382 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.3921, allocations: 9.438 kB / 0.5382 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3921, allocations: 0 / 0.5382 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004223/0.3964, allocations: 3.482 MB / 0.5416 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.3965, allocations: 146.3 kB / 0.5417 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/0.3967, allocations: 91.95 kB / 0.5418 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006001/0.3973, allocations: 107.8 kB / 0.5419 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005134/0.3978, allocations: 378.9 kB / 0.5423 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.398, allocations: 64.52 kB / 0.5423 GB, free: 2.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002572/0.3982, allocations: 299.8 kB / 0.5426 GB, free: 2.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3982, allocations: 0 / 0.5426 GB, free: 2.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001292/0.3995, allocations: 497.8 kB / 0.5431 GB, free: 2.516 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],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,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.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 56 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],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]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 36 * 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.005057/0.4046, allocations: 4.391 MB / 0.5474 GB, free: 15.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00376/0.4083, allocations: 2.459 MB / 0.5498 GB, free: 12.67 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4083, allocations: 0 / 0.5498 GB, free: 12.67 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002298/0.4106, allocations: 1.637 MB / 0.5514 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007457/0.4114, allocations: 138.9 kB / 0.5515 GB, free: 10.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/0.4268, allocations: 9.83 MB / 0.5611 GB, free: 492 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008325/0.4277, allocations: 1.03 MB / 0.5621 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005684/0.4282, allocations: 215.8 kB / 0.5623 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003562/0.4286, allocations: 251.3 kB / 0.5626 GB, free: 14.98 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4286, allocations: 0 / 0.5626 GB, free: 14.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05686/0.4855, allocations: 24.25 MB / 0.5862 GB, free: 6.727 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.21/9.695, allocations: 11.42 kB / 0.5863 GB, free: 6.719 MB / 430.1 MB " [Timeout remaining time 650] (rm -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight.fmu > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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: 12.48524184897542]