Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 165.8 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8962/0.8962, allocations: 177.2 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.04914/0.04914, allocations: 12.64 MB / 271.8 MB, free: 0.7422 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 403 MB, free: 9.883 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.279e-05, allocations: 2.281 kB / 403 MB, free: 9.879 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.002124/0.002147, allocations: 1.734 MB / 404.8 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.004565, allocations: 1.897 MB / 406.7 MB, free: 6.234 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.004772, allocations: 7.938 kB / 406.7 MB, free: 6.227 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004639/0.005235, allocations: 127 kB / 406.8 MB, free: 6.102 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.005443, allocations: 139 kB / 406.9 MB, free: 5.965 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.006826, allocations: 0.9587 MB / 407.9 MB, free: 5.004 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009701/0.007796, allocations: 1.349 MB / 409.2 MB, free: 3.652 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.007946, allocations: 56.41 kB / 409.3 MB, free: 3.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000536/0.008482, allocations: 0.7527 MB / 410 MB, free: 2.836 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.008802, allocations: 287.1 kB / 410.3 MB, free: 2.555 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.15e-05/0.008884, allocations: 72 kB / 410.4 MB, free: 2.484 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006394/0.009523, allocations: 0.6277 MB / 411 MB, free: 1.855 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.009652, allocations: 151.3 kB / 411.2 MB, free: 1.707 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.009849, allocations: 247.4 kB / 411.4 MB, free: 1.465 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009812/0.01083, allocations: 1.227 MB / 412.6 MB, free: 240 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.01083, allocations: 0 / 412.6 MB, free: 240 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01083, allocations: 0 / 412.6 MB, free: 240 kB / 378.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.01085, allocations: 0 / 412.6 MB, free: 240 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.00123/0.01208, allocations: 1.176 MB / 413.8 MB, free: 14.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.01211, allocations: 12.03 kB / 413.8 MB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/0.01222, allocations: 114.6 kB / 413.9 MB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.01243, allocations: 92.5 kB / 414 MB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.01282, allocations: 352.7 kB / 414.4 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.074e-05/0.01291, allocations: 104.7 kB / 414.5 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-05/0.01298, allocations: 67.98 kB / 414.5 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.01439, allocations: 1.653 MB / 416.2 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.0144, allocations: 0 / 416.2 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.021e-05/0.01445, allocations: 28 kB / 416.2 MB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.157e-05/0.01451, allocations: 56.95 kB / 416.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009722/0.01548, allocations: 1.104 MB / 417.4 MB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/0.01764, allocations: 2.751 MB / 420.1 MB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008065/0.01845, allocations: 0.9071 MB / 421 MB, free: 7.293 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.01908, allocations: 0.8337 MB / 421.9 MB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.91e-05/0.01913, allocations: 15.92 kB / 421.9 MB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001192/0.02032, allocations: 1.227 MB / 423.1 MB, free: 5.031 MB / 394.7 MB Notification: Performance of pre-optimization done (n=79): time 1.833e-06/0.02032, allocations: 0 / 423.1 MB, free: 5.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=79): time 0.002571/0.02289, allocations: 3.075 MB / 426.2 MB, free: 1.789 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000211/0.0231, allocations: 0.6118 MB / 426.8 MB, free: 1.055 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.02341, allocations: 400 kB / 427.2 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.643e-05/0.02347, allocations: 61.69 kB / 427.3 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.0236, allocations: 253.2 kB / 427.5 MB, free: 352 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.02371, allocations: 202.5 kB / 427.7 MB, free: 148 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.0239, allocations: 214.6 kB / 427.9 MB, free: 15.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.024, allocations: 374.8 kB / 428.3 MB, free: 15.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005095/0.02451, allocations: 0.6375 MB / 428.9 MB, free: 14.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006297/0.02514, allocations: 1.143 MB / 430.1 MB, free: 13.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.02671, allocations: 2.146 MB / 432.2 MB, free: 10.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.02672, allocations: 4 kB / 432.2 MB, free: 10.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001525/0.02825, allocations: 1.913 MB / 434.1 MB, free: 8.914 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.02837, allocations: 338.7 kB / 434.5 MB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.02839, allocations: 12 kB / 434.5 MB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.02841, allocations: 16 kB / 434.5 MB, free: 8.488 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.02862, allocations: 123.7 kB / 434.6 MB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.02864, allocations: 23.88 kB / 434.6 MB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.0289, allocations: 115.6 kB / 434.7 MB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.02896, allocations: 55.98 kB / 434.8 MB, free: 8.176 MB / 410.7 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 T2.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T2.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 T2.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: 49 * Number of states: 0 () * Number of discrete variables: 121 ($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,$whenCondition8,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition6,$whenCondition7,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition3,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,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T2.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T2.enabledByInPlaces,P1.enableIn.arcWeight[1],T2.activation.disPlaceOut[1],T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[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,$whenCondition4,$whenCondition5,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 11 * 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.0006819/0.02964, allocations: 0.7309 MB / 435.5 MB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.886e-05/0.02974, allocations: 79.66 kB / 435.6 MB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.03152, allocations: 2.059 MB / 437.7 MB, free: 5.152 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.03154, allocations: 8 kB / 437.7 MB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.03154, allocations: 3.938 kB / 437.7 MB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.03155, allocations: 11.91 kB / 437.7 MB, free: 5.129 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002565/0.03411, allocations: 2.843 MB / 440.5 MB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.03412, allocations: 4 kB / 440.5 MB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.629e-05/0.03418, allocations: 19.98 kB / 440.5 MB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.03419, allocations: 8 kB / 440.6 MB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/0.03425, allocations: 43.91 kB / 440.6 MB, free: 2.086 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.03425, allocations: 3.938 kB / 440.6 MB, free: 2.082 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.03425, allocations: 0 / 440.6 MB, free: 2.082 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1282/0.1624, allocations: 2.59 MB / 443.2 MB, free: 80.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.771e-05/0.1625, allocations: 53.84 kB / 443.2 MB, free: 80.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.1627, allocations: 71.73 kB / 443.3 MB, free: 80.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.1629, allocations: 58.52 kB / 443.4 MB, free: 80.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.163, allocations: 85.56 kB / 443.5 MB, free: 80.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-05/0.1631, allocations: 43.81 kB / 443.5 MB, free: 80.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001543/0.1632, allocations: 234.7 kB / 443.7 MB, free: 80.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1632, allocations: 0 / 443.7 MB, free: 80.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007009/0.1639, allocations: 317.2 kB / 444 MB, free: 80.21 MB / 410.7 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.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,T2.active,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,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.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,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 50 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.eventIndex,$whenCondition3,T2.activation.active,T2.eventPassed,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): 23 * Array equations: 1 * Algorithm blocks: 9 * 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.002388/0.1663, allocations: 3.44 MB / 447.5 MB, free: 78.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.1678, allocations: 2.45 MB / 449.9 MB, free: 76.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1678, allocations: 0 / 449.9 MB, free: 76.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008211/0.1686, allocations: 1.521 MB / 451.4 MB, free: 75.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.169, allocations: 110.1 kB / 451.6 MB, free: 75.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005615/0.1746, allocations: 8.933 MB / 460.5 MB, free: 69.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.1747, allocations: 307.2 kB / 460.8 MB, free: 69.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002385/0.175, allocations: 137.6 kB / 460.9 MB, free: 69.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.1751, allocations: 182.1 kB / 461.1 MB, free: 69.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.163e-06/0.1751, allocations: 2.344 kB / 461.1 MB, free: 69.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08673/0.2619, allocations: 17.55 MB / 478.6 MB, free: 66.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.22, allocations: 16.56 kB / 478.7 MB, free: 66.59 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEnoInput.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TEnoInput_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TEnoInput.fmu) > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TEnoInput_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TEnoInput_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TEnoInput_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TEnoInput_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv --output-variables P1.t T2.active T2.fire --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../PNlib_PNlib_Examples_DisTest_TEnoInput.fmu) > PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:P1.t,T2.active,T2.fire,time Variables in the result: filterSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv: [:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of /mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 11.020002811215818]