Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.NoInputConflict.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.001412/0.001412, 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.001448/0.001448, allocations: 165.9 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.9114/0.9114, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.04963/0.04963, allocations: 12.64 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.NoInputConflict,fileNamePrefix="PNlib_PNlib_Examples_DisTest_NoInputConflict",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.NoInputConflict,fileNamePrefix="PNlib_PNlib_Examples_DisTest_NoInputConflict",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 403 MB, free: 9.879 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.937e-05, allocations: 2.281 kB / 403 MB, free: 9.875 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.NoInputConflict): time 0.00356/0.003589, allocations: 2.065 MB / 405.1 MB, free: 7.801 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003804/0.007393, allocations: 2.023 MB / 407.1 MB, free: 5.773 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004001/0.007793, allocations: 15.88 kB / 407.1 MB, free: 5.758 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004446/0.008238, allocations: 154.8 kB / 407.3 MB, free: 5.605 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005146/0.008752, allocations: 178.7 kB / 407.5 MB, free: 5.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.01079, allocations: 1.021 MB / 408.5 MB, free: 4.406 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001223/0.01201, allocations: 1.626 MB / 410.1 MB, free: 2.777 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.01222, allocations: 107.5 kB / 410.2 MB, free: 2.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007304/0.01295, allocations: 0.9592 MB / 411.2 MB, free: 1.699 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004436/0.01339, allocations: 366.8 kB / 411.5 MB, free: 1.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.01351, allocations: 92 kB / 411.6 MB, free: 1.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006183/0.01413, allocations: 0.6044 MB / 412.2 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.01431, allocations: 222.9 kB / 412.4 MB, free: 436 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000249/0.01456, allocations: 311.2 kB / 412.7 MB, free: 124 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.01584, allocations: 1.48 MB / 414.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.01585, allocations: 4 kB / 414.2 MB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.01585, allocations: 0 / 414.2 MB, free: 14.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.01586, allocations: 0 / 414.2 MB, free: 14.63 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.001462/0.01733, allocations: 1.41 MB / 415.6 MB, free: 13.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.01738, allocations: 12.03 kB / 415.6 MB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.01752, allocations: 152.1 kB / 415.8 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/0.01786, allocations: 128.3 kB / 415.9 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005187/0.01838, allocations: 427.5 kB / 416.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.0185, allocations: 180.8 kB / 416.5 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.016e-05/0.01859, allocations: 99.97 kB / 416.6 MB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.02053, allocations: 2.251 MB / 418.9 MB, free: 9.629 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.02054, allocations: 4 kB / 418.9 MB, free: 9.625 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.987e-05/0.02061, allocations: 51.91 kB / 418.9 MB, free: 9.574 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001661/0.02078, allocations: 85.25 kB / 419 MB, free: 9.492 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.0222, allocations: 1.535 MB / 420.5 MB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003242/0.02544, allocations: 4.075 MB / 424.6 MB, free: 3.664 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.02659, allocations: 1.213 MB / 425.8 MB, free: 2.375 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008518/0.02744, allocations: 1.073 MB / 426.9 MB, free: 1.242 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.618e-05/0.02749, allocations: 12.38 kB / 426.9 MB, free: 1.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.0286, allocations: 1.461 MB / 428.4 MB, free: 15.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=97): time 2.665e-06/0.0286, allocations: 0 / 428.4 MB, free: 15.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.00266/0.03126, allocations: 3.369 MB / 431.7 MB, free: 12.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002135/0.03147, allocations: 0.6141 MB / 432.3 MB, free: 11.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004445/0.03192, allocations: 0.5285 MB / 432.9 MB, free: 10.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.49e-05/0.03198, allocations: 69.7 kB / 432.9 MB, free: 10.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.03224, allocations: 361 kB / 433.3 MB, free: 10.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.03239, allocations: 258.1 kB / 433.6 MB, free: 10.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.03263, allocations: 290.8 kB / 433.8 MB, free: 9.883 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.704e-05/0.0327, allocations: 326 kB / 434.2 MB, free: 9.559 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005541/0.03326, allocations: 0.7595 MB / 434.9 MB, free: 8.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007608/0.03402, allocations: 1.361 MB / 436.3 MB, free: 7.059 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00195/0.03597, allocations: 2.72 MB / 439 MB, free: 3.953 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/0.03598, allocations: 4 kB / 439 MB, free: 3.949 MB / 410.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.001859/0.03784, allocations: 2.27 MB / 441.3 MB, free: 1.535 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.03797, allocations: 346.6 kB / 441.6 MB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.03798, allocations: 16.09 kB / 441.6 MB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.03801, allocations: 23.98 kB / 441.6 MB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.0383, allocations: 171.5 kB / 441.8 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/0.03832, allocations: 31.92 kB / 441.8 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.03865, allocations: 155.3 kB / 442 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.999e-05/0.03872, allocations: 72 kB / 442.1 MB, free: 0.668 MB / 410.7 MB Warning: Assuming fixed start value for the following 28 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 P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" 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 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.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 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: 65 * Number of states: 0 () * Number of discrete variables: 153 ($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[2],$PRE.P1.enableIn.cumEnablingProb[2],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[2],$PRE.P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition5,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition3,$whenCondition4,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,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,P1.inTransition[2].disPlace,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.outPlaces[1].disTransition,P1.reStart,T2.firingCon,T1.firingCon,P1.enableIn.disTransition[2],P1.enableIn.disTransition[1],$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[2],$PRE.P1.enableIn.TEin[1],$PRE.T2.firingTime,$PRE.T1.firingTime,T2.enabledByInPlaces,T1.enabledByInPlaces,T1.activation.arcWeightIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.disPlaceOut[1],T1.activation.disPlaceOut[1],P1.enableIn.arcWeightSum,P1.enableIn.TEin[2],P1.enableIn.TEin[1],P1.enableIn.TEin_[2],P1.enableIn.TEin_[1],P1.enableIn.active[2],P1.enableIn.active[1],P1.enableIn.TAein[2],P1.enableIn.TAein[1],P1.enableIn.arcWeight[2],P1.enableIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[2],P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[2],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[2],P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T2.delayPassed,$PRE.T2.delayPassed,T2.firingTime,T2.active,T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,$whenCondition2,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,P1.inTransition[2].emptied,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 160 * Array equations: 0 * 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.1421/0.1808, allocations: 0.8543 MB / 442.9 MB, free: 80.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.181, allocations: 87.64 kB / 443 MB, free: 80.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.1827, allocations: 2.141 MB / 445.1 MB, free: 79.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.1827, allocations: 9.297 kB / 445.2 MB, free: 79.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1827, allocations: 0 / 445.2 MB, free: 79.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1828, allocations: 3.156 kB / 445.2 MB, free: 79.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.1852, allocations: 3.127 MB / 448.3 MB, free: 78.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1852, allocations: 0 / 448.3 MB, free: 78.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1853, allocations: 43.41 kB / 448.3 MB, free: 78.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.1853, allocations: 6.594 kB / 448.3 MB, free: 78.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/0.1854, allocations: 43.17 kB / 448.4 MB, free: 78.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1854, allocations: 3.094 kB / 448.4 MB, free: 78.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1854, allocations: 7.219 kB / 448.4 MB, free: 78.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.1872, allocations: 2.68 MB / 451.1 MB, free: 76.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.13e-05/0.1872, allocations: 71.67 kB / 451.1 MB, free: 76.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.1874, allocations: 85.22 kB / 451.2 MB, free: 76.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.1876, allocations: 67.28 kB / 451.3 MB, free: 76.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.1878, allocations: 138.5 kB / 451.4 MB, free: 76.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.914e-05/0.1878, allocations: 52.12 kB / 451.5 MB, free: 76.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000203/0.188, allocations: 300 kB / 451.8 MB, free: 76.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.188, allocations: 0 / 451.8 MB, free: 76.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000808/0.1888, allocations: 385.5 kB / 452.1 MB, free: 76.29 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: 86 ($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,T2.active,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition2,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active,T2.firingTime,T2.fireTime,T2.delayPassed,T2.ani,T2.activation.tIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.vec[2],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.fire[2],P1.firingSumIn.arcWeight[1],P1.firingSumIn.arcWeight[2],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.arcWeight[1],P1.enableIn.arcWeight[2],P1.enableIn.TAein[1],P1.enableIn.TAein[2],P1.enableIn.active[1],P1.enableIn.active[2],P1.enableIn.TEin_[1],P1.enableIn.TEin_[2],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.TEin[2],P1.enableIn.remTAin[1],P1.enableIn.remTAin[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[2],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) * Number of discrete states: 54 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.activation.active,T2.delayPassed,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[2],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[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[2],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 (55): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 7 * 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.002509/0.1914, allocations: 3.538 MB / 455.7 MB, free: 74.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00202/0.1934, allocations: 2.873 MB / 458.6 MB, free: 72.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1934, allocations: 0 / 458.6 MB, free: 72.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.1944, allocations: 1.786 MB / 460.3 MB, free: 71.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.1949, allocations: 124.4 kB / 460.5 MB, free: 71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008715/0.2036, allocations: 11.36 MB / 471.8 MB, free: 63.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.2039, allocations: 415.6 kB / 472.2 MB, free: 63.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003432/0.2042, allocations: 211.8 kB / 472.4 MB, free: 63.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.2044, allocations: 270.4 kB / 472.7 MB, free: 63.56 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.2044, allocations: 0 / 472.7 MB, free: 63.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09254/0.297, allocations: 20.88 MB / 493.6 MB, free: 59.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.225, allocations: 6.828 kB / 493.6 MB, free: 59.29 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe >> ../files/PNlib_PNlib.Examples.DisTest.NoInputConflict.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.NoInputConflict_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_NoInputConflict_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_NoInputConflict.fmu) > PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.NoInputConflict_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.NoInputConflict.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.NoInputConflict_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_NoInputConflict_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_NoInputConflict_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.NoInputConflict.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.NoInputConflict_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_NoInputConflict_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_NoInputConflict_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.NoInputConflict.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.NoInputConflict_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy_res.csv --output-variables P1.t T1.active T1.fire T2.active T2.fire --start-time 0 --stop-time 3 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ../PNlib_PNlib_Examples_DisTest_NoInputConflict.fmu) > PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.NoInputConflict.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.active,T1.fire,T2.active,T2.fire,time Variables in the result: filterSimulationResults("PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.NoInputConflict_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.NoInputConflict_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.NoInputConflict.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict_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.NoInputConflict.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 11.111496045254171]