Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPD.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.001611/0.001611, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001994/0.001994, allocations: 169.8 kB / 22.46 MB, free: 2.105 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.9571/0.9571, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.04961/0.04961, allocations: 12.63 MB / 271.8 MB, free: 0.7227 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.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPD",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 403 MB, free: 9.879 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.905e-05, allocations: 2.281 kB / 403 MB, free: 9.875 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPD): time 0.002846/0.002865, allocations: 1.739 MB / 404.8 MB, free: 8.125 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.00515, allocations: 1.847 MB / 406.6 MB, free: 6.273 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.005369, allocations: 11.94 kB / 406.6 MB, free: 6.262 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.005661, allocations: 111.1 kB / 406.7 MB, free: 6.152 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.005953, allocations: 135 kB / 406.9 MB, free: 6.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.007262, allocations: 0.9505 MB / 407.8 MB, free: 5.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.008339, allocations: 1.342 MB / 409.2 MB, free: 3.727 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.008488, allocations: 60.41 kB / 409.2 MB, free: 3.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005864/0.009075, allocations: 0.7526 MB / 410 MB, free: 2.906 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.00941, allocations: 279.1 kB / 410.2 MB, free: 2.633 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.739e-05/0.009487, allocations: 72 kB / 410.3 MB, free: 2.562 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006094/0.0101, allocations: 0.5965 MB / 410.9 MB, free: 1.965 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.01024, allocations: 139.3 kB / 411 MB, free: 1.828 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.01044, allocations: 239.4 kB / 411.3 MB, free: 1.594 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009796/0.01142, allocations: 1.188 MB / 412.5 MB, free: 412 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.01142, allocations: 0 / 412.5 MB, free: 412 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01142, allocations: 0 / 412.5 MB, free: 412 kB / 378.7 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.01143, allocations: 0 / 412.5 MB, free: 412 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001238/0.01267, allocations: 1.147 MB / 413.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.01271, allocations: 8.031 kB / 413.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001104/0.01282, allocations: 110.7 kB / 413.7 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.01305, allocations: 84.55 kB / 413.8 MB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.01346, allocations: 344.8 kB / 414.1 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.878e-05/0.01355, allocations: 108.6 kB / 414.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.759e-05/0.01362, allocations: 67.98 kB / 414.3 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.01504, allocations: 1.548 MB / 415.9 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.01505, allocations: 0 / 415.9 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.002e-05/0.0151, allocations: 39.97 kB / 415.9 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.462e-05/0.01516, allocations: 44.97 kB / 415.9 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009801/0.01614, allocations: 1.048 MB / 417 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.01828, allocations: 2.696 MB / 419.7 MB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008113/0.01909, allocations: 0.8669 MB / 420.6 MB, free: 7.793 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006205/0.01971, allocations: 0.7698 MB / 421.3 MB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.763e-05/0.01976, allocations: 8.172 kB / 421.3 MB, free: 6.953 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001076/0.02083, allocations: 1.114 MB / 422.5 MB, free: 5.746 MB / 394.7 MB Notification: Performance of pre-optimization done (n=73): time 2.074e-06/0.02083, allocations: 0 / 422.5 MB, free: 5.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=73): time 0.002425/0.02326, allocations: 2.865 MB / 425.3 MB, free: 2.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001943/0.02345, allocations: 0.5365 MB / 425.9 MB, free: 2.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.02374, allocations: 396 kB / 426.2 MB, free: 1.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.038e-05/0.02379, allocations: 65.69 kB / 426.3 MB, free: 1.629 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.02392, allocations: 237.2 kB / 426.5 MB, free: 1.391 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.02402, allocations: 186.7 kB / 426.7 MB, free: 1.207 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.02419, allocations: 202.6 kB / 426.9 MB, free: 1.004 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.02429, allocations: 370.8 kB / 427.3 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004272/0.02471, allocations: 0.5968 MB / 427.9 MB, free: 15.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005936/0.02531, allocations: 1.051 MB / 428.9 MB, free: 14.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.02689, allocations: 2.045 MB / 431 MB, free: 12.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.02689, allocations: 0 / 431 MB, free: 12.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001363/0.02826, allocations: 1.781 MB / 432.8 MB, free: 10.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.02837, allocations: 309 kB / 433.1 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.02839, allocations: 12.84 kB / 433.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.02841, allocations: 20 kB / 433.1 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.02861, allocations: 119.7 kB / 433.2 MB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.02863, allocations: 23.92 kB / 433.2 MB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.02886, allocations: 119.2 kB / 433.3 MB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/0.02892, allocations: 51.94 kB / 433.4 MB, free: 9.715 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 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: 47 * 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,P1.enableIn.arcWeight[1],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.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 (123): * Single equations (assignments): 113 * 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.0005393/0.02946, allocations: 0.695 MB / 434.1 MB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.002e-05/0.02954, allocations: 67.72 kB / 434.2 MB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.03134, allocations: 1.918 MB / 436.1 MB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.03134, allocations: 4 kB / 436.1 MB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.03135, allocations: 0 / 436.1 MB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.03135, allocations: 3.938 kB / 436.1 MB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00238/0.03373, allocations: 2.675 MB / 438.8 MB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.03374, allocations: 0 / 438.8 MB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.799e-05/0.0338, allocations: 31.92 kB / 438.8 MB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.03381, allocations: 4 kB / 438.8 MB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.597e-05/0.03387, allocations: 39.92 kB / 438.8 MB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.03387, allocations: 0 / 438.8 MB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.03387, allocations: 0 / 438.8 MB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.03584, allocations: 2.445 MB / 441.3 MB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.03588, allocations: 51.58 kB / 441.3 MB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.036, allocations: 67.92 kB / 441.4 MB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.03619, allocations: 59.95 kB / 441.4 MB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.03633, allocations: 79.91 kB / 441.5 MB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-05/0.03639, allocations: 39.98 kB / 441.6 MB, free: 1.172 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001784/0.03657, allocations: 227 kB / 441.8 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03657, allocations: 0 / 441.8 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007525/0.03732, allocations: 307.6 kB / 442.1 MB, free: 0.6484 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: 66 ($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.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 (35): * Single equations (assignments): 23 * 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.1364/0.1738, allocations: 3.265 MB / 445.4 MB, free: 79.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.1753, allocations: 2.29 MB / 447.6 MB, free: 78.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.1753, allocations: 3.938 kB / 447.6 MB, free: 78.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007622/0.1761, allocations: 1.391 MB / 449 MB, free: 77.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.1765, allocations: 103.5 kB / 449.1 MB, free: 77.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006424/0.1829, allocations: 8.473 MB / 457.6 MB, free: 71.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.1831, allocations: 302.9 kB / 457.9 MB, free: 71.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002747/0.1834, allocations: 128.9 kB / 458 MB, free: 71.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.1836, allocations: 170.6 kB / 458.2 MB, free: 71.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1836, allocations: 6.031 kB / 458.2 MB, free: 71.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1155/0.2991, allocations: 16.82 MB / 475 MB, free: 68.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/7.873, allocations: 20.03 kB / 475 MB, free: 68.41 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPD.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TDtoPD_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPD_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TDtoPD.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPD.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.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.TDtoPD_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPD_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TDtoPD_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.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.TDtoPD_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPD_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TDtoPD_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.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.TDtoPD_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy_res.csv --output-variables P1.t T1.active T1.fire --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../PNlib_PNlib_Examples_DisTest_TDtoPD.fmu) > PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.active,T1.fire,time Variables in the result: filterSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.TDtoPD_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.TDtoPD_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPD.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_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.TDtoPD.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPD_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 10.727524452842772]