Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) 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.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007366/0.007366, allocations: 101.5 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002004/0.002004, allocations: 188.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2085/0.2085, allocations: 16.77 MB / 307.3 MB, free: 14.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 64.61 kB / 425.9 MB, free: 37.33 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1226, allocations: 53.48 MB / 479.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.003366/0.126, allocations: 1.979 MB / 481.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002957/0.129, allocations: 1.553 MB / 482.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003756/0.1294, allocations: 6.625 kB / 482.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003695/0.1298, allocations: 130.3 kB / 483 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004487/0.1302, allocations: 142.5 kB / 483.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.1316, allocations: 0.6549 MB / 483.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.1329, allocations: 1.443 MB / 485.2 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003633/0.1333, allocations: 267.8 kB / 485.5 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005475/0.1339, allocations: 0.5591 MB / 486.1 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005659/0.1344, allocations: 0.491 MB / 486.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.1347, allocations: 135.8 kB / 486.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008323/0.1355, allocations: 495.8 kB / 487.2 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.1358, allocations: 249.1 kB / 487.4 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000513/0.1363, allocations: 0.5581 MB / 488 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.1376, allocations: 1.584 MB / 489.6 MB, free: 3.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1376, allocations: 0 / 489.6 MB, free: 3.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1376, allocations: 0 / 489.6 MB, free: 3.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.1376, allocations: 4 kB / 489.6 MB, free: 3.086 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.001713/0.1393, allocations: 1.561 MB / 491.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.1394, allocations: 15.89 kB / 491.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002158/0.1396, allocations: 180.6 kB / 491.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.1406, allocations: 227.6 kB / 491.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000624/0.1413, allocations: 0.549 MB / 492.1 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.1415, allocations: 264.2 kB / 492.3 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/0.1417, allocations: 124 kB / 492.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003131/0.1449, allocations: 1.955 MB / 494.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.1449, allocations: 3.938 kB / 494.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.145, allocations: 59.97 kB / 494.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001633/0.1452, allocations: 101.9 kB / 494.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/0.1476, allocations: 1.409 MB / 496 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005018/0.1527, allocations: 3.534 MB / 499.5 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.1549, allocations: 1.828 MB / 0.4896 GB, free: 6.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/0.1567, allocations: 1.694 MB / 0.4913 GB, free: 5.211 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002379/0.1591, allocations: 3.046 MB / 0.4942 GB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001699/0.1608, allocations: 1.091 MB / 0.4953 GB, free: 380 kB / 366.1 MB Notification: Performance of pre-optimization done (n=88): time 3.427e-06/0.1608, allocations: 0 / 0.4953 GB, free: 380 kB / 366.1 MB Notification: Performance of matching and sorting (n=88): time 0.005418/0.1663, allocations: 3.351 MB / 0.4986 GB, free: 12.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004833/0.1668, allocations: 0.6627 MB / 0.4992 GB, free: 12.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008192/0.1676, allocations: 0.5088 MB / 0.4997 GB, free: 11.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.1677, allocations: 73.69 kB / 0.4998 GB, free: 11.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004132/0.1682, allocations: 375.7 kB / 0.5001 GB, free: 11.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/0.1685, allocations: 241.2 kB / 0.5004 GB, free: 10.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005276/0.169, allocations: 298.8 kB / 0.5007 GB, free: 10.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.1693, allocations: 378.8 kB / 0.501 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009796/0.1702, allocations: 0.5576 MB / 0.5016 GB, free: 9.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.1715, allocations: 1.042 MB / 0.5026 GB, free: 8.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003827/0.1754, allocations: 3.131 MB / 0.5056 GB, free: 4.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.801e-05/0.1754, allocations: 4 kB / 0.5056 GB, free: 4.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003439/0.1788, allocations: 2.246 MB / 0.5078 GB, free: 2.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000259/0.1791, allocations: 382.6 kB / 0.5082 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001752/0.1809, allocations: 1.221 MB / 0.5094 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.947e-05/0.1809, allocations: 24 kB / 0.5094 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/0.1815, allocations: 163.6 kB / 0.5096 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.292e-05/0.1815, allocations: 31.86 kB / 0.5096 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007185/0.1822, allocations: 166.8 kB / 0.5098 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.1824, allocations: 72 kB / 0.5098 GB, free: 468 kB / 382.1 MB Warning: Assuming fixed start value for the following 21 variables: P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real 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.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean 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: 64 * Number of states: 0 () * Number of discrete variables: 138 ($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.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.feeding.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.emptying.vec[1],P1.emptying.numtrue,P1.emptying.anytrue,$PRE.T1.firingTime,$PRE.P1.enableOut.TEout[1],$PRE.P1.enableIn.TEin[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.fireOut[1],P1.fireIn[1],$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * 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.001617/0.184, allocations: 0.9036 MB / 0.5107 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002836/0.1843, allocations: 95.23 kB / 0.5108 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004193/0.1885, allocations: 2.725 MB / 0.5135 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.1885, allocations: 12 kB / 0.5135 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1885, allocations: 0 / 0.5135 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1885, allocations: 0 / 0.5135 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006167/0.1947, allocations: 4.089 MB / 0.5175 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003833/0.1986, allocations: 2.648 MB / 0.5201 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.1988, allocations: 35.92 kB / 0.5201 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.1988, allocations: 7.984 kB / 0.5201 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.1989, allocations: 43.98 kB / 0.5201 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.1989, allocations: 7.984 kB / 0.5201 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.199, allocations: 3.938 kB / 0.5202 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006149/0.2051, allocations: 4.088 MB / 0.5241 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/0.2053, allocations: 136.2 kB / 0.5243 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002479/0.2056, allocations: 87.97 kB / 0.5244 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006273/0.2062, allocations: 95.97 kB / 0.5244 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005781/0.2068, allocations: 367.6 kB / 0.5248 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/0.2069, allocations: 55.97 kB / 0.5249 GB, free: 0.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003582/0.2073, allocations: 295.1 kB / 0.5251 GB, free: 424 kB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2073, allocations: 0 / 0.5251 GB, free: 424 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001379/0.2087, allocations: 403.3 kB / 0.5255 GB, free: 20 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (P1.t_) * Number of discrete variables: 71 (P1.fireIn[1],P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.outTransition[1].tokenInOut,P1.disMarksInOut,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.disTAin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.disTAout[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.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.emptying.anytrue,P1.emptying.numtrue,P1.feeding.anytrue,P1.feeding.numtrue) * Number of discrete states: 54 (P1.feeding.numtrue,P1.feeding.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[1],P1.disMarksOut.numtrue,P1.disMarksIn.numtrue,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * 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.007583/0.2163, allocations: 4.901 MB / 0.5303 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004227/0.2205, allocations: 2.594 MB / 0.5328 GB, free: 8.312 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.2205, allocations: 4 kB / 0.5328 GB, free: 8.309 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003765/0.2243, allocations: 3.442 MB / 0.5362 GB, free: 4.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008842/0.2252, allocations: 116.1 kB / 0.5363 GB, free: 4.641 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/0.241, allocations: 9.752 MB / 0.5458 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008473/0.2419, allocations: 1.06 MB / 0.5469 GB, free: 9.238 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005265/0.2424, allocations: 197.6 kB / 0.5471 GB, free: 9.043 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003482/0.2428, allocations: 271.3 kB / 0.5473 GB, free: 8.777 MB / 430.1 MB Notification: Performance of SimCode: time 2.074e-06/0.2428, allocations: 0 / 0.5473 GB, free: 8.777 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06009/0.3029, allocations: 22.46 MB / 0.5692 GB, free: 2.234 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.881/9.184, allocations: 11.38 kB / 0.5693 GB, free: 2.227 MB / 446.1 MB (rm -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.mat --tempDir=temp_PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight.fmu > PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:P1.t,T1.active,T1.fire,time Variables in the result:P1.N,P1.animateMarking,P1.color[1],P1.color[2],P1.color[3],P1.enablingPrioIn[1],P1.enablingPrioOut[1],P1.enablingProbIn[1],P1.enablingProbOut[1],P1.enablingType,P1.inTransition[1].active,P1.inTransition[1].arcWeight,P1.inTransition[1].arcWeightint,P1.inTransition[1].decreasingFactor,P1.inTransition[1].disPlace,P1.inTransition[1].disTransition,P1.inTransition[1].emptied,P1.inTransition[1].enable,P1.inTransition[1].enabledByInPlaces,P1.inTransition[1].fire,P1.inTransition[1].instSpeed,P1.inTransition[1].maxSpeed,P1.inTransition[1].maxTokens,P1.inTransition[1].maxTokensint,P1.inTransition[1].prelimSpeed,P1.inTransition[1].speedSum,P1.inTransition[1].t,P1.inTransition[1].tint,P1.levelCon,P1.localSeedIn,P1.localSeedOut,P1.maxMarks,P1.minMarks,P1.nIn,P1.nOut,P1.outTransition[1].active,P1.outTransition[1].arcType,P1.outTransition[1].arcWeight,P1.outTransition[1].arcWeightint,P1.outTransition[1].decreasingFactor,P1.outTransition[1].disPlace,P1.outTransition[1].disTransition,P1.outTransition[1].enable,P1.outTransition[1].fed,P1.outTransition[1].fire,P1.outTransition[1].instSpeed,P1.outTransition[1].maxSpeed,P1.outTransition[1].minTokens,P1.outTransition[1].minTokensint,P1.outTransition[1].normalArc,P1.outTransition[1].prelimSpeed,P1.outTransition[1].speedSum,P1.outTransition[1].t,P1.outTransition[1].testValue,P1.outTransition[1].testValueint,P1.outTransition[1].tint,P1.outTransition[1].tokenInOut,P1.pc_t,P1.reStart,P1.reStartMarks,P1.showCapacity,P1.showPlaceName,P1.showTokenFlow,P1.startMarks,P1.t,P1.t_,T1.active,T1.arcWeightIn[1],T1.arcWeightOut[1],T1.delay,T1.fire,T1.firingCon,T1.inPlaces[1].active,T1.inPlaces[1].arcType,T1.inPlaces[1].arcWeight,T1.inPlaces[1].arcWeightint,T1.inPlaces[1].decreasingFactor,T1.inPlaces[1].disPlace,T1.inPlaces[1].disTransition,T1.inPlaces[1].enable,T1.inPlaces[1].fed,T1.inPlaces[1].fire,T1.inPlaces[1].instSpeed,T1.inPlaces[1].maxSpeed,T1.inPlaces[1].minTokens,T1.inPlaces[1].minTokensint,T1.inPlaces[1].normalArc,T1.inPlaces[1].prelimSpeed,T1.inPlaces[1].speedSum,T1.inPlaces[1].t,T1.inPlaces[1].testValue,T1.inPlaces[1].testValueint,T1.inPlaces[1].tint,T1.inPlaces[1].tokenInOut,T1.nIn,T1.nOut,T1.outPlaces[1].active,T1.outPlaces[1].arcWeight,T1.outPlaces[1].arcWeightint,T1.outPlaces[1].decreasingFactor,T1.outPlaces[1].disPlace,T1.outPlaces[1].disTransition,T1.outPlaces[1].emptied,T1.outPlaces[1].enable,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].fire,T1.outPlaces[1].instSpeed,T1.outPlaces[1].maxSpeed,T1.outPlaces[1].maxTokens,T1.outPlaces[1].maxTokensint,T1.outPlaces[1].prelimSpeed,T1.outPlaces[1].speedSum,T1.outPlaces[1].t,T1.outPlaces[1].tint,der(P1.t_),settings.M,settings.N,settings.animateHazardFunc,settings.animateMarking,settings.animatePlace,settings.animatePutFireTime,settings.animateSpeed,settings.animateTIarc,settings.animateTransition,settings.animateWeightTIarc,settings.globalSeed,settings.scale,settings.showCapacity,settings.showPlaceName,settings.showTime,settings.showTokenFlow,settings.showTransitionName,settings.timeFire,time