Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.001378/0.001378, allocations: 107.5 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.001402/0.001402, 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.398/1.398, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.08307/0.08307, allocations: 16.97 MB / 319.6 MB, free: 9.02 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.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002722/0.002722, allocations: 67.91 kB / 446.1 MB, free: 11.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1186, allocations: 56.4 MB / 0.4907 GB, free: 3.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.003618/0.1222, allocations: 1.881 MB / 0.4926 GB, free: 1.387 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00425/0.1265, allocations: 1.926 MB / 0.4944 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000477/0.1269, allocations: 4 kB / 0.4944 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004448/0.1274, allocations: 119 kB / 0.4946 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005763/0.128, allocations: 135.1 kB / 0.4947 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00246/0.1304, allocations: 0.9007 MB / 0.4956 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001998/0.1324, allocations: 1.318 MB / 0.4969 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003021/0.1327, allocations: 92.64 kB / 0.4969 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009198/0.1336, allocations: 0.5376 MB / 0.4975 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007859/0.1344, allocations: 362.3 kB / 0.4978 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002975/0.1347, allocations: 88 kB / 0.4979 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.1358, allocations: 0.55 MB / 0.4984 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002761/0.1361, allocations: 155.3 kB / 0.4986 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006377/0.1367, allocations: 390.3 kB / 0.499 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002319/0.1391, allocations: 1.18 MB / 0.5001 GB, free: 9.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1391, allocations: 0 / 0.5001 GB, free: 9.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1391, allocations: 4 kB / 0.5001 GB, free: 9.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.982e-05/0.1391, allocations: 3.938 kB / 0.5001 GB, free: 9.629 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.002618/0.1417, allocations: 1.289 MB / 0.5014 GB, free: 8.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.1418, allocations: 15.89 kB / 0.5014 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002135/0.142, allocations: 122.7 kB / 0.5015 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003564/0.1423, allocations: 96.5 kB / 0.5016 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007672/0.1431, allocations: 438.6 kB / 0.502 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.1433, allocations: 86.98 kB / 0.5021 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.1434, allocations: 75.98 kB / 0.5022 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.1457, allocations: 1.332 MB / 0.5035 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.1457, allocations: 0 / 0.5035 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.1458, allocations: 36 kB / 0.5035 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.1459, allocations: 56.94 kB / 0.5036 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.1477, allocations: 0.9132 MB / 0.5045 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004834/0.1525, allocations: 3.33 MB / 0.5077 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.1539, allocations: 0.7163 MB / 0.5084 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.155, allocations: 0.596 MB / 0.509 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.1551, allocations: 93.09 kB / 0.5091 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2451/0.4002, allocations: 0.903 MB / 0.51 GB, free: 22.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 2.946e-06/0.4002, allocations: 0 / 0.51 GB, free: 22.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.003359/0.4036, allocations: 2.636 MB / 0.5125 GB, free: 22.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002047/0.4038, allocations: 0.5373 MB / 0.5131 GB, free: 22.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/0.4041, allocations: 412 kB / 0.5134 GB, free: 21.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.041e-05/0.4042, allocations: 70.58 kB / 0.5135 GB, free: 21.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.4044, allocations: 261.4 kB / 0.5138 GB, free: 21.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.4045, allocations: 200.6 kB / 0.514 GB, free: 21.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/0.4048, allocations: 228.7 kB / 0.5142 GB, free: 21.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.4049, allocations: 376.5 kB / 0.5145 GB, free: 21.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000637/0.4055, allocations: 443.7 kB / 0.515 GB, free: 21.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000878/0.4064, allocations: 0.8099 MB / 0.5157 GB, free: 20.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00262/0.409, allocations: 2.541 MB / 0.5182 GB, free: 19.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-05/0.409, allocations: 5.375 kB / 0.5182 GB, free: 19.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002418/0.4114, allocations: 1.842 MB / 0.52 GB, free: 18.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.4116, allocations: 337.3 kB / 0.5204 GB, free: 18.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.4116, allocations: 11 kB / 0.5204 GB, free: 18.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.4116, allocations: 16.31 kB / 0.5204 GB, free: 18.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.412, allocations: 122.2 kB / 0.5205 GB, free: 18.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-05/0.412, allocations: 27.66 kB / 0.5205 GB, free: 18.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004889/0.4125, allocations: 136 kB / 0.5207 GB, free: 18.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/0.4126, allocations: 55.52 kB / 0.5207 GB, free: 18.03 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: 51 * 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.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.enableOut.arcWeight[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 (134): * Single equations (assignments): 123 * 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.0009402/0.4135, allocations: 0.7563 MB / 0.5214 GB, free: 17.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.4137, allocations: 78.47 kB / 0.5215 GB, free: 17.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/0.4164, allocations: 2.017 MB / 0.5235 GB, free: 16.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.4164, allocations: 5.891 kB / 0.5235 GB, free: 16.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4164, allocations: 1.812 kB / 0.5235 GB, free: 16.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.4164, allocations: 4.266 kB / 0.5235 GB, free: 16.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003881/0.4203, allocations: 3.053 MB / 0.5265 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.4203, allocations: 2.859 kB / 0.5265 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.4205, allocations: 25.98 kB / 0.5265 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.4205, allocations: 5.906 kB / 0.5265 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.784e-05/0.4206, allocations: 41.08 kB / 0.5266 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.4206, allocations: 1.219 kB / 0.5266 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4206, allocations: 1.688 kB / 0.5266 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003245/0.4238, allocations: 2.398 MB / 0.5289 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.279e-05/0.4239, allocations: 132.3 kB / 0.529 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.4241, allocations: 75.09 kB / 0.5291 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004601/0.4246, allocations: 76.27 kB / 0.5292 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005593/0.4251, allocations: 329.8 kB / 0.5295 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.4252, allocations: 45.66 kB / 0.5295 GB, free: 13.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002561/0.4255, allocations: 247.6 kB / 0.5298 GB, free: 13.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4255, allocations: 2.188 kB / 0.5298 GB, free: 13.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001182/0.4267, allocations: 341.5 kB / 0.5301 GB, free: 13.51 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: 69 ($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.arcWeight[1],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 (39): * Single equations (assignments): 26 * 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.003954/0.4306, allocations: 3.215 MB / 0.5332 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002574/0.4332, allocations: 1.956 MB / 0.5351 GB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.4332, allocations: 1.438 kB / 0.5351 GB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.4345, allocations: 1.268 MB / 0.5364 GB, free: 9.855 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006098/0.4351, allocations: 110.3 kB / 0.5365 GB, free: 9.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008872/0.444, allocations: 7.98 MB / 0.5443 GB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.4442, allocations: 0.9185 MB / 0.5452 GB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002999/0.4445, allocations: 144.5 kB / 0.5453 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.4447, allocations: 191.4 kB / 0.5455 GB, free: 3.66 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4447, allocations: 0 / 0.5455 GB, free: 3.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04476/0.4895, allocations: 17.97 MB / 0.563 GB, free: 1.742 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.839/9.329, allocations: 8.891 kB / 0.5631 GB, free: 1.738 MB / 398.1 MB " [Timeout remaining time 651] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.050613487139344]