Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.001668/0.001668, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.001467/0.001467, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.435/1.435, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.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.07822/0.07822, allocations: 16.97 MB / 319.6 MB, free: 13.06 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.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.11 kB / 446.1 MB, free: 45.38 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0883/0.09021, allocations: 56.43 MB / 0.4907 GB, free: 18.82 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.002598/0.09281, allocations: 1.871 MB / 0.4926 GB, free: 17.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002825/0.09563, allocations: 1.919 MB / 0.4944 GB, free: 15.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002563/0.09589, allocations: 13.53 kB / 0.4944 GB, free: 15.85 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.0962, allocations: 111.2 kB / 0.4945 GB, free: 15.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.09652, allocations: 125.4 kB / 0.4947 GB, free: 15.65 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.09811, allocations: 0.914 MB / 0.4956 GB, free: 14.97 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.09921, allocations: 1.304 MB / 0.4968 GB, free: 14.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.09939, allocations: 85.44 kB / 0.4969 GB, free: 14.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004336/0.09983, allocations: 0.5286 MB / 0.4974 GB, free: 13.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/0.1002, allocations: 329.9 kB / 0.4977 GB, free: 13.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.463e-05/0.1002, allocations: 73.56 kB / 0.4978 GB, free: 13.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006155/0.1009, allocations: 0.5302 MB / 0.4983 GB, free: 13.26 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.101, allocations: 136 kB / 0.4985 GB, free: 13.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.1012, allocations: 338 kB / 0.4988 GB, free: 12.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009284/0.1022, allocations: 1.046 MB / 0.4998 GB, free: 12.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1022, allocations: 3.938 kB / 0.4998 GB, free: 12.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1022, allocations: 0 / 0.4998 GB, free: 12.19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.1022, allocations: 0 / 0.4998 GB, free: 12.19 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001284/0.1035, allocations: 1.223 MB / 0.501 GB, free: 11.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.1035, allocations: 16.81 kB / 0.501 GB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.1036, allocations: 111.4 kB / 0.5011 GB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002713/0.1039, allocations: 88.7 kB / 0.5012 GB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.1043, allocations: 404 kB / 0.5016 GB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.514e-05/0.1044, allocations: 79.58 kB / 0.5017 GB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.1045, allocations: 74.48 kB / 0.5017 GB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.1059, allocations: 1.105 MB / 0.5028 GB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.1059, allocations: 0 / 0.5028 GB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-05/0.106, allocations: 31.98 kB / 0.5029 GB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.233e-05/0.106, allocations: 44.97 kB / 0.5029 GB, free: 9.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000978/0.107, allocations: 0.7376 MB / 0.5036 GB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002569/0.1096, allocations: 3.006 MB / 0.5066 GB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007879/0.1104, allocations: 0.5992 MB / 0.5071 GB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005666/0.1109, allocations: 490.3 kB / 0.5076 GB, free: 4.559 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.815e-05/0.111, allocations: 89.12 kB / 0.5077 GB, free: 4.453 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009447/0.112, allocations: 0.7786 MB / 0.5085 GB, free: 3.637 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.545e-06/0.112, allocations: 4 kB / 0.5085 GB, free: 3.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.002556/0.1145, allocations: 2.212 MB / 0.5106 GB, free: 1.375 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/0.1147, allocations: 0.5113 MB / 0.5111 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.1149, allocations: 364.3 kB / 0.5115 GB, free: 416 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.656e-05/0.115, allocations: 69.69 kB / 0.5115 GB, free: 340 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1151, allocations: 241.1 kB / 0.5118 GB, free: 96 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.1152, allocations: 198.8 kB / 0.5119 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/0.1155, allocations: 206.5 kB / 0.5121 GB, free: 15.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1157, allocations: 370.8 kB / 0.5125 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005077/0.1162, allocations: 302.1 kB / 0.5128 GB, free: 15.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007812/0.117, allocations: 0.6361 MB / 0.5134 GB, free: 14.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002473/0.1194, allocations: 2.028 MB / 0.5154 GB, free: 11.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/0.1195, allocations: 4 kB / 0.5154 GB, free: 11.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002115/0.1216, allocations: 1.459 MB / 0.5168 GB, free: 10.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002085/0.1218, allocations: 325 kB / 0.5171 GB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.1218, allocations: 8 kB / 0.5171 GB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.908e-05/0.1218, allocations: 16 kB / 0.5171 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/0.1222, allocations: 115.5 kB / 0.5173 GB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.767e-05/0.1222, allocations: 23.92 kB / 0.5173 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/0.1226, allocations: 107.3 kB / 0.5174 GB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.52e-05/0.1227, allocations: 48 kB / 0.5174 GB, free: 9.68 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" 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 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.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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 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: 118 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$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.reStart,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$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,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 112 * Array equations: 0 * 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.0008657/0.1235, allocations: 0.6958 MB / 0.5181 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.1237, allocations: 71.67 kB / 0.5182 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/0.1263, allocations: 1.673 MB / 0.5198 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.1263, allocations: 11.88 kB / 0.5198 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1263, allocations: 0 / 0.5198 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.1263, allocations: 4 kB / 0.5198 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003874/0.1302, allocations: 2.589 MB / 0.5224 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.1302, allocations: 3.938 kB / 0.5224 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.1303, allocations: 35.91 kB / 0.5224 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1303, allocations: 7.875 kB / 0.5224 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-05/0.1304, allocations: 39.98 kB / 0.5224 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.1304, allocations: 4 kB / 0.5224 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1304, allocations: 0 / 0.5224 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002961/0.1334, allocations: 2.066 MB / 0.5245 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.1335, allocations: 136.6 kB / 0.5246 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.1336, allocations: 63.98 kB / 0.5247 GB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.134, allocations: 59.95 kB / 0.5247 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.1342, allocations: 79.86 kB / 0.5248 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.962e-05/0.1343, allocations: 43.97 kB / 0.5248 GB, free: 1.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002356/0.1345, allocations: 223 kB / 0.525 GB, free: 1.602 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1345, allocations: 4 kB / 0.525 GB, free: 1.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009402/0.1355, allocations: 303.5 kB / 0.5253 GB, free: 1.301 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: 67 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,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.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.arcWeight[1],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.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.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,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,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * Array equations: 0 * 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.003963/0.1394, allocations: 2.882 MB / 0.5281 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002288/0.1417, allocations: 1.676 MB / 0.5298 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1417, allocations: 0 / 0.5298 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001341/0.1431, allocations: 1.109 MB / 0.5309 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005771/0.1436, allocations: 97.8 kB / 0.531 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009632/0.1533, allocations: 6.976 MB / 0.5378 GB, free: 3.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005344/0.1538, allocations: 0.8958 MB / 0.5386 GB, free: 2.922 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003321/0.1541, allocations: 132.3 kB / 0.5388 GB, free: 2.793 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.1544, allocations: 175.4 kB / 0.5389 GB, free: 2.621 MB / 398.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1544, allocations: 0 / 0.5389 GB, free: 2.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04097/0.1953, allocations: 15.36 MB / 0.5539 GB, free: 3.281 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.778/8.974, allocations: 19.98 kB / 0.554 GB, free: 3.262 MB / 414.1 MB " [Timeout remaining time 651] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPDfunction_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TDtoPDfunction.fmu > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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: 11.733418964780867]