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.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.00134/0.00134, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.001724/0.001724, allocations: 213.9 kB / 23.04 MB, free: 5.078 MB / 14.72 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 1.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.08488/0.08488, allocations: 16.95 MB / 330.2 MB, free: 2.273 MB / 254.1 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.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 67.89 kB / 460.5 MB, free: 2.301 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1195, allocations: 57.62 MB / 0.506 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.003551/0.1231, allocations: 2.006 MB / 0.508 GB, free: 6.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003159/0.1263, allocations: 1.574 MB / 0.5095 GB, free: 5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002589/0.1265, allocations: 15.88 kB / 0.5095 GB, free: 4.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003669/0.1269, allocations: 134.9 kB / 0.5097 GB, free: 4.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005098/0.1274, allocations: 178.9 kB / 0.5098 GB, free: 4.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.1291, allocations: 0.6971 MB / 0.5105 GB, free: 3.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.1308, allocations: 1.4 MB / 0.5119 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002752/0.1311, allocations: 116 kB / 0.512 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007043/0.1318, allocations: 0.5842 MB / 0.5126 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007737/0.1326, allocations: 0.5563 MB / 0.5131 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000232/0.1328, allocations: 132 kB / 0.5132 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.1339, allocations: 0.6203 MB / 0.5138 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.1341, allocations: 255 kB / 0.5141 GB, free: 312 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2308/0.365, allocations: 0.5513 MB / 0.5146 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002195/0.3672, allocations: 1.595 MB / 0.5162 GB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3672, allocations: 1.969 kB / 0.5162 GB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3672, allocations: 5.156 kB / 0.5162 GB, free: 10.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.957e-05/0.3672, allocations: 0 / 0.5162 GB, free: 10.56 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.002481/0.3697, allocations: 1.611 MB / 0.5178 GB, free: 9.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3697, allocations: 11 kB / 0.5178 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.555e-05/0.3698, allocations: 28.12 kB / 0.5178 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001916/0.37, allocations: 184.9 kB / 0.518 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.371, allocations: 228.9 kB / 0.5182 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007121/0.3718, allocations: 0.4928 MB / 0.5187 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.372, allocations: 427.7 kB / 0.5191 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.3721, allocations: 116.4 kB / 0.5192 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/0.3754, allocations: 1.955 MB / 0.5211 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/0.3754, allocations: 0 / 0.5211 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.3755, allocations: 59.7 kB / 0.5211 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001975/0.3757, allocations: 103.9 kB / 0.5212 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00275/0.3785, allocations: 1.418 MB / 0.5226 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006423/0.3849, allocations: 3.486 MB / 0.526 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.3867, allocations: 0.9571 MB / 0.527 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.3882, allocations: 0.8162 MB / 0.5278 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/0.3893, allocations: 345.6 kB / 0.5281 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001912/0.3912, allocations: 1.096 MB / 0.5292 GB, free: 5.844 MB / 382.1 MB Notification: Performance of pre-optimization done (n=88): time 2.755e-06/0.3912, allocations: 0 / 0.5292 GB, free: 5.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.006074/0.3973, allocations: 3.362 MB / 0.5325 GB, free: 4.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003789/0.3976, allocations: 0.6692 MB / 0.5331 GB, free: 3.816 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.3987, allocations: 0.506 MB / 0.5336 GB, free: 3.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001517/0.3988, allocations: 72.77 kB / 0.5337 GB, free: 3.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.3991, allocations: 397.1 kB / 0.534 GB, free: 3.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/0.3994, allocations: 243.3 kB / 0.5343 GB, free: 3.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005729/0.3999, allocations: 302.3 kB / 0.5346 GB, free: 2.914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.4001, allocations: 380.2 kB / 0.5349 GB, free: 2.574 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.4012, allocations: 0.5597 MB / 0.5355 GB, free: 2.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.4026, allocations: 1.038 MB / 0.5365 GB, free: 1.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003913/0.4065, allocations: 3.134 MB / 0.5396 GB, free: 15.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.03e-05/0.4066, allocations: 3.906 kB / 0.5396 GB, free: 15.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004174/0.4107, allocations: 2.256 MB / 0.5418 GB, free: 14.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003081/0.4111, allocations: 386.6 kB / 0.5421 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002016/0.4131, allocations: 1.246 MB / 0.5433 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.259e-05/0.4131, allocations: 21.5 kB / 0.5434 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/0.4138, allocations: 167.3 kB / 0.5435 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.497e-05/0.4138, allocations: 29.97 kB / 0.5436 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.4149, allocations: 170.2 kB / 0.5437 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002117/0.4151, allocations: 72.62 kB / 0.5438 GB, free: 13.32 MB / 398.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.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.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.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.randNum,$PRE.P1.enableOut.randNum,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.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.randNum,$PRE.P1.enableIn.randNum,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],P1.outTransition[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.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.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.TEout[1],$PRE.T1.firingTime,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],P1.fireIn[1],P1.fireOut[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.TEin[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.TEout[1],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.active,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.delayPassed,$PRE.T1.delayPassed,T1.activation.active,$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.001712/0.4169, allocations: 0.8975 MB / 0.5447 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003242/0.4172, allocations: 96.66 kB / 0.5448 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005504/0.4227, allocations: 2.739 MB / 0.5474 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.4227, allocations: 5.906 kB / 0.5474 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.4227, allocations: 1.312 kB / 0.5474 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.4227, allocations: 3.984 kB / 0.5474 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007282/0.43, allocations: 4.087 MB / 0.5514 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003922/0.4339, allocations: 2.66 MB / 0.554 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.4341, allocations: 44.66 kB / 0.5541 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.4341, allocations: 4.312 kB / 0.5541 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.4343, allocations: 49.84 kB / 0.5541 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.4343, allocations: 7.406 kB / 0.5541 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4343, allocations: 0 / 0.5541 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006937/0.4412, allocations: 4.108 MB / 0.5581 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.4415, allocations: 72.14 kB / 0.5582 GB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000295/0.4418, allocations: 83.98 kB / 0.5583 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006684/0.4424, allocations: 91.91 kB / 0.5584 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000682/0.4431, allocations: 369.5 kB / 0.5587 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/0.4433, allocations: 63.95 kB / 0.5588 GB, free: 3.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000379/0.4436, allocations: 295.1 kB / 0.5591 GB, free: 2.859 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4436, allocations: 0 / 0.5591 GB, free: 2.859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00145/0.4451, allocations: 403.3 kB / 0.5595 GB, free: 2.465 MB / 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,T1.activation.active,T1.ani,T1.delayPassed,T1.fireTime,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,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.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,P1.enableOut.cumEnablingProb[1],P1.enableOut.remTAout[1],P1.enableOut.disTAout[1],P1.enableOut.TEout[1],P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,P1.enableIn.cumEnablingProb[1],P1.enableIn.remTAin[1],P1.enableIn.disTAin[1],P1.enableIn.TEin[1],P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.disMarksInOut,P1.outTransition[1].tokenInOut,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue) * 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.008079/0.4532, allocations: 4.928 MB / 0.5643 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004131/0.4573, allocations: 2.403 MB / 0.5666 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.4573, allocations: 0.9375 kB / 0.5666 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002455/0.4598, allocations: 1.65 MB / 0.5682 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007608/0.4605, allocations: 125.8 kB / 0.5683 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/0.477, allocations: 9.806 MB / 0.5779 GB, free: 14.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008785/0.4779, allocations: 1.06 MB / 0.579 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005656/0.4784, allocations: 196.2 kB / 0.5791 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003876/0.4788, allocations: 267.3 kB / 0.5794 GB, free: 13.28 MB / 430.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4788, allocations: 0 / 0.5794 GB, free: 13.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05858/0.5374, allocations: 23.18 MB / 0.602 GB, free: 6.109 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.16, allocations: 7.922 kB / 0.602 GB, free: 6.102 MB / 446.1 MB " [Timeout remaining time 647] (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 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight.fmu > PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] "" 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 [Calling sys.exit(0), Time elapsed: 16.240290903951973]