Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.001698/0.001698, allocations: 108.4 kB / 16.45 MB, free: 6.035 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.001804/0.001804, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.445/1.445, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.08432/0.08432, allocations: 16.97 MB / 319.7 MB, free: 9.004 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.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002945/0.002945, allocations: 71.89 kB / 446.1 MB, free: 11.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1449, allocations: 56.41 MB / 0.4907 GB, free: 3.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.003791/0.1487, allocations: 1.877 MB / 0.4926 GB, free: 1.391 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004082/0.1527, allocations: 1.933 MB / 0.4944 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004032/0.1532, allocations: 7.938 kB / 0.4945 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004516/0.1536, allocations: 111.1 kB / 0.4946 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004791/0.1541, allocations: 139 kB / 0.4947 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002447/0.1565, allocations: 0.8999 MB / 0.4956 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001581/0.1581, allocations: 1.314 MB / 0.4969 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.1584, allocations: 100.6 kB / 0.4969 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006542/0.159, allocations: 0.5299 MB / 0.4975 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005906/0.1596, allocations: 374.2 kB / 0.4978 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.1597, allocations: 91.94 kB / 0.4979 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009515/0.1607, allocations: 0.5383 MB / 0.4984 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.1609, allocations: 155.3 kB / 0.4986 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004311/0.1613, allocations: 382.4 kB / 0.4989 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.1628, allocations: 1.188 MB / 0.5001 GB, free: 9.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1628, allocations: 4 kB / 0.5001 GB, free: 9.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1628, allocations: 0 / 0.5001 GB, free: 9.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.1629, allocations: 0 / 0.5001 GB, free: 9.633 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001815/0.1647, allocations: 1.289 MB / 0.5014 GB, free: 8.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.1647, allocations: 15.88 kB / 0.5014 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.1649, allocations: 126.7 kB / 0.5015 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003115/0.1652, allocations: 88.52 kB / 0.5016 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007098/0.1659, allocations: 442.6 kB / 0.502 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.166, allocations: 79 kB / 0.5021 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.1662, allocations: 79.98 kB / 0.5022 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.1683, allocations: 1.326 MB / 0.5035 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.1683, allocations: 0 / 0.5035 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.883e-05/0.1684, allocations: 39.97 kB / 0.5035 GB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.1686, allocations: 60.89 kB / 0.5036 GB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.1701, allocations: 0.9015 MB / 0.5044 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004243/0.1744, allocations: 3.314 MB / 0.5077 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.1755, allocations: 0.6606 MB / 0.5083 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009404/0.1765, allocations: 0.5724 MB / 0.5089 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.551e-05/0.1766, allocations: 85.09 kB / 0.509 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2226/0.3992, allocations: 0.8863 MB / 0.5098 GB, free: 22.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 3.437e-06/0.3992, allocations: 0 / 0.5098 GB, free: 22.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003576/0.4028, allocations: 2.546 MB / 0.5123 GB, free: 22.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002823/0.4031, allocations: 0.5585 MB / 0.5129 GB, free: 21.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005023/0.4036, allocations: 428.9 kB / 0.5133 GB, free: 21.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.175e-05/0.4037, allocations: 69.47 kB / 0.5133 GB, free: 21.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.4039, allocations: 269.8 kB / 0.5136 GB, free: 21.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.404, allocations: 195.2 kB / 0.5138 GB, free: 21.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003214/0.4044, allocations: 235.1 kB / 0.514 GB, free: 21.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4045, allocations: 374.3 kB / 0.5144 GB, free: 21.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006936/0.4052, allocations: 441.9 kB / 0.5148 GB, free: 21.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008356/0.406, allocations: 0.8177 MB / 0.5156 GB, free: 20.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002591/0.4086, allocations: 2.539 MB / 0.5181 GB, free: 19.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/0.4086, allocations: 3 kB / 0.5181 GB, free: 19.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00246/0.4111, allocations: 1.845 MB / 0.5199 GB, free: 18.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.4112, allocations: 335.3 kB / 0.5202 GB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.4113, allocations: 11 kB / 0.5202 GB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.625e-05/0.4113, allocations: 18.53 kB / 0.5202 GB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/0.4117, allocations: 123.4 kB / 0.5203 GB, free: 18.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.105e-05/0.4117, allocations: 27.39 kB / 0.5204 GB, free: 18.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/0.4122, allocations: 141.2 kB / 0.5205 GB, free: 17.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.059e-05/0.4123, allocations: 55.23 kB / 0.5205 GB, free: 17.98 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: 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 P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 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: 52 * Number of states: 0 () * Number of discrete variables: 128 ($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,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[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.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,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.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,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 124 * 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.0008471/0.4132, allocations: 0.7509 MB / 0.5213 GB, free: 17.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.4133, allocations: 78.5 kB / 0.5213 GB, free: 17.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002762/0.4161, allocations: 1.952 MB / 0.5233 GB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/0.4161, allocations: 7.094 kB / 0.5233 GB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.4161, allocations: 1.281 kB / 0.5233 GB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.4161, allocations: 2.062 kB / 0.5233 GB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004192/0.4203, allocations: 2.985 MB / 0.5262 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.4203, allocations: 0 / 0.5262 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.4204, allocations: 29.52 kB / 0.5262 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.4204, allocations: 1.625 kB / 0.5262 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9e-05/0.4205, allocations: 46.86 kB / 0.5263 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.4205, allocations: 3.25 kB / 0.5263 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4205, allocations: 0 / 0.5263 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003289/0.4238, allocations: 2.336 MB / 0.5285 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-05/0.4239, allocations: 129.3 kB / 0.5287 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.4241, allocations: 74.66 kB / 0.5287 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/0.4246, allocations: 74.28 kB / 0.5288 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000544/0.4251, allocations: 337.4 kB / 0.5291 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.4252, allocations: 49.77 kB / 0.5292 GB, free: 13.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002491/0.4255, allocations: 251.1 kB / 0.5294 GB, free: 13.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4255, allocations: 1.594 kB / 0.5294 GB, free: 13.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001419/0.4269, allocations: 339.8 kB / 0.5297 GB, free: 13.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 68 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,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,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,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,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * 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.004036/0.4309, allocations: 3.143 MB / 0.5328 GB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002694/0.4336, allocations: 1.931 MB / 0.5347 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4336, allocations: 0 / 0.5347 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001351/0.435, allocations: 1.238 MB / 0.5359 GB, free: 9.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006343/0.4356, allocations: 117.1 kB / 0.536 GB, free: 9.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.4459, allocations: 7.887 MB / 0.5437 GB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.4463, allocations: 0.919 MB / 0.5446 GB, free: 4.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003369/0.4466, allocations: 142.3 kB / 0.5447 GB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.4469, allocations: 188.9 kB / 0.5449 GB, free: 4.102 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4469, allocations: 0 / 0.5449 GB, free: 4.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04989/0.4968, allocations: 17.92 MB / 0.5624 GB, free: 2.277 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.02/9.517, allocations: 25.45 kB / 0.5624 GB, free: 2.258 MB / 398.1 MB " [Timeout remaining time 650] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTD.fmu > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD.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.157192868180573]