Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TDtoPCfunction.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.TDtoPCfunction,fileNamePrefix="PNlib_PNlib_Examples_HybTest_TDtoPCfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.TDtoPCfunction,fileNamePrefix="PNlib_PNlib_Examples_HybTest_TDtoPCfunction",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.002051/0.002051, allocations: 106.7 kB / 15.78 MB, free: 5.984 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.002415/0.002415, allocations: 199.2 kB / 16.72 MB, free: 5.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.392/2.392, allocations: 225.6 MB / 243.1 MB, free: 3.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1328/0.1328, allocations: 16.97 MB / 313 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003232/0.003232, allocations: 59.89 kB / 437.4 MB, free: 3.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4208, allocations: 56.41 MB / 493.8 MB, free: 18.5 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPCfunction): time 0.003604/0.4244, allocations: 1.987 MB / 495.8 MB, free: 16.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003182/0.4276, allocations: 1.563 MB / 497.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003667/0.428, allocations: 11.31 kB / 497.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003843/0.4284, allocations: 128.3 kB / 497.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005334/0.4289, allocations: 142.1 kB / 497.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.4308, allocations: 0.6475 MB / 498.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001603/0.4324, allocations: 1.241 MB / 499.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.4326, allocations: 96.08 kB / 499.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005968/0.4332, allocations: 0.4965 MB / 0.4884 GB, free: 13.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004879/0.4337, allocations: 343.6 kB / 0.4887 GB, free: 13.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.4338, allocations: 72 kB / 0.4888 GB, free: 13.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008148/0.4347, allocations: 475.3 kB / 0.4893 GB, free: 13.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.4348, allocations: 167 kB / 0.4894 GB, free: 13.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003199/0.4352, allocations: 339.2 kB / 0.4897 GB, free: 12.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.4365, allocations: 1.025 MB / 0.4907 GB, free: 12.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4365, allocations: 7.938 kB / 0.4907 GB, free: 12.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4365, allocations: 0 / 0.4907 GB, free: 12.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.4365, allocations: 0 / 0.4907 GB, free: 12.27 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001928/0.4384, allocations: 1.275 MB / 0.492 GB, free: 11.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.4385, allocations: 13.89 kB / 0.492 GB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/0.4386, allocations: 121.6 kB / 0.4921 GB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006633/0.4393, allocations: 133 kB / 0.4922 GB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006454/0.4399, allocations: 415.9 kB / 0.4926 GB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.4401, allocations: 140.2 kB / 0.4928 GB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.4403, allocations: 74.33 kB / 0.4928 GB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.442, allocations: 1.105 MB / 0.4939 GB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/0.4421, allocations: 5.062 kB / 0.4939 GB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.771e-05/0.4421, allocations: 32.58 kB / 0.494 GB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-05/0.4422, allocations: 58.7 kB / 0.494 GB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.4437, allocations: 0.7583 MB / 0.4948 GB, free: 9.387 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/0.4471, allocations: 2.773 MB / 0.4975 GB, free: 7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.4481, allocations: 0.6011 MB / 0.4981 GB, free: 6.645 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006756/0.4487, allocations: 471.3 kB / 0.4985 GB, free: 6.387 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001589/0.4503, allocations: 2.882 MB / 0.5013 GB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000872/0.4512, allocations: 0.7095 MB / 0.502 GB, free: 2.172 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.435e-06/0.4512, allocations: 0 / 0.502 GB, free: 2.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.002772/0.454, allocations: 2.014 MB / 0.504 GB, free: 96 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004567/0.4544, allocations: 0.5788 MB / 0.5045 GB, free: 15.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006663/0.4551, allocations: 372.2 kB / 0.5049 GB, free: 15.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.4552, allocations: 65.69 kB / 0.505 GB, free: 14.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.4555, allocations: 253.1 kB / 0.5052 GB, free: 14.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002372/0.4557, allocations: 198.6 kB / 0.5054 GB, free: 14.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003311/0.456, allocations: 206.8 kB / 0.5056 GB, free: 14.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002315/0.4563, allocations: 370.7 kB / 0.5059 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006849/0.457, allocations: 326.1 kB / 0.5063 GB, free: 13.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.458, allocations: 0.6556 MB / 0.5069 GB, free: 12.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00343/0.4615, allocations: 2.125 MB / 0.509 GB, free: 10.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.976e-05/0.4615, allocations: 4 kB / 0.509 GB, free: 10.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003207/0.4647, allocations: 1.524 MB / 0.5105 GB, free: 8.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003217/0.465, allocations: 346.7 kB / 0.5108 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001175/0.4662, allocations: 0.5784 MB / 0.5114 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.024e-05/0.4662, allocations: 16 kB / 0.5114 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004459/0.4667, allocations: 119.7 kB / 0.5115 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.966e-05/0.4667, allocations: 19.94 kB / 0.5115 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006718/0.4674, allocations: 111.3 kB / 0.5116 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.4675, allocations: 52.06 kB / 0.5117 GB, free: 7.449 MB / 382.1 MB Warning: Assuming fixed start value for the following 21 variables: 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 P1.enableOut.Index:DISCRETE(fixed = true protected = true ) 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 P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real 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: 108 ($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.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,$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,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,P1.reStart,P1.feeding.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,$PRE.T1.firingTime,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.fireIn[1],$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 105 * 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.001418/0.4689, allocations: 0.7157 MB / 0.5124 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003191/0.4693, allocations: 71.7 kB / 0.5124 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002945/0.4722, allocations: 1.494 MB / 0.5139 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.4722, allocations: 12 kB / 0.5139 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4722, allocations: 3.938 kB / 0.5139 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.4722, allocations: 0 / 0.5139 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006495/0.4787, allocations: 2.398 MB / 0.5162 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004351/0.4831, allocations: 1.41 MB / 0.5176 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.4834, allocations: 35.91 kB / 0.5177 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.658e-05/0.4834, allocations: 4 kB / 0.5177 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/0.4836, allocations: 35.98 kB / 0.5177 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-05/0.4836, allocations: 7.922 kB / 0.5177 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.4836, allocations: 3.984 kB / 0.5177 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007525/0.4911, allocations: 2.551 MB / 0.5202 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000258/0.4914, allocations: 128.7 kB / 0.5203 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000386/0.4918, allocations: 63.98 kB / 0.5204 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007614/0.4925, allocations: 67.95 kB / 0.5204 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003801/0.4929, allocations: 87.91 kB / 0.5205 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001889/0.4931, allocations: 43.97 kB / 0.5206 GB, free: 13.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004826/0.4936, allocations: 223 kB / 0.5208 GB, free: 13.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4936, allocations: 4 kB / 0.5208 GB, free: 13.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002001/0.4956, allocations: 283.6 kB / 0.5211 GB, free: 13.48 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (P1.t_) * Number of discrete variables: 60 (P1.emptying.anytrue,P1.emptying.numtrue,$whenCondition1,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.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.fireIn[1],T1.active,P1.disMarksInOut,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,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.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.feeding.anytrue,P1.feeding.numtrue) * Number of discrete states: 48 (P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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],$whenCondition2,P1.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarkChange,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,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,P1.enableOut.arcWeightSum,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 23 * 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.009937/0.5055, allocations: 3.345 MB / 0.5243 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004584/0.5101, allocations: 1.707 MB / 0.526 GB, free: 8.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.5101, allocations: 0 / 0.526 GB, free: 8.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001811/0.5119, allocations: 1.173 MB / 0.5271 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007273/0.5126, allocations: 92.3 kB / 0.5272 GB, free: 6.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.5258, allocations: 7.065 MB / 0.5341 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008041/0.5266, allocations: 0.9152 MB / 0.535 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004112/0.527, allocations: 116.6 kB / 0.5351 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.5273, allocations: 179.4 kB / 0.5353 GB, free: 14.08 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5273, allocations: 0 / 0.5353 GB, free: 14.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05604/0.5833, allocations: 14.84 MB / 0.5498 GB, free: 15.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/14.69, allocations: 18.05 kB / 0.5498 GB, free: 15.24 MB / 430.1 MB (rm -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe >> ../files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.HybTest.TDtoPCfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_HybTest_TDtoPCfunction_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_HybTest_TDtoPCfunction.fmu > PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPCfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPCfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction.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.enablingProbIn[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.pc_t,P1.reStart,P1.reStartMarks,P1.showCapacity,P1.showPlaceName,P1.showTokenFlow,P1.startMarks,P1.t,P1.t_,T1.active,T1.arcWeightOut[1],T1.delay,T1.fire,T1.firingCon,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