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.0008943/0.0008943, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001004/0.001899, allocations: 447.7 kB / 10.29 MB, free: 420 kB / 10.45 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.0007085/0.0007085, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009461/0.001655, allocations: 480.2 kB / 11.64 MB, free: 2.535 MB / 13.93 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.8754/0.8754, allocations: 177.1 MB / 189.5 MB, free: 3.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1391/1.015, allocations: 53.66 MB / 243.2 MB, free: 2.383 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.04946/0.04946, allocations: 12.67 MB / 256.6 MB, free: 5.262 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006526/0.05598, allocations: 4.694 MB / 261.3 MB, free: 0.5547 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.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+3.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.NoInputConflict,fileNamePrefix="PNlib_PNlib_Examples_DisTest_NoInputConflict",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 262.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625e-05/1.8e-05, allocations: 2.312 kB / 262.5 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.NoInputConflict): time 0.003012/0.00303, allocations: 2.112 MB / 264.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003453/0.006484, allocations: 2.088 MB / 266.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.006694, allocations: 11.94 kB / 266.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.007002, allocations: 158.7 kB / 266.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000388/0.00739, allocations: 178.7 kB / 267.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.008865, allocations: 0.947 MB / 268 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001459/0.01032, allocations: 1.583 MB / 269.6 MB, free: 8.215 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.01054, allocations: 113.5 kB / 269.7 MB, free: 8.086 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.01163, allocations: 0.991 MB / 270.7 MB, free: 7.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004524/0.01209, allocations: 362.8 kB / 271 MB, free: 6.734 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.01221, allocations: 92 kB / 271.1 MB, free: 6.645 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000854/0.01307, allocations: 0.6395 MB / 271.8 MB, free: 6.004 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.01325, allocations: 187.1 kB / 272 MB, free: 5.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002947/0.01355, allocations: 235.5 kB / 272.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.01467, allocations: 1.032 MB / 273.2 MB, free: 4.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.01468, allocations: 0 / 273.2 MB, free: 4.555 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01468, allocations: 0 / 273.2 MB, free: 4.555 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.0147, allocations: 3.938 kB / 273.2 MB, free: 4.551 MB / 266.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.001576/0.01627, allocations: 1.407 MB / 274.6 MB, free: 3.039 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.01631, allocations: 8.625 kB / 274.6 MB, free: 3.031 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.01647, allocations: 159.9 kB / 274.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003876/0.01686, allocations: 253.9 kB / 275 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004654/0.01733, allocations: 319.6 kB / 275.3 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.01746, allocations: 172.8 kB / 275.5 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.01759, allocations: 108 kB / 275.6 MB, free: 1.969 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.01934, allocations: 1.646 MB / 277.3 MB, free: 124 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.01936, allocations: 3.938 kB / 277.3 MB, free: 120 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.924e-05/0.01945, allocations: 51.98 kB / 277.3 MB, free: 68 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001292/0.01958, allocations: 89.3 kB / 277.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009895/0.02057, allocations: 0.9084 MB / 278.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003203/0.02377, allocations: 3.615 MB / 281.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008508/0.02462, allocations: 0.8882 MB / 282.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006739/0.0253, allocations: 0.7161 MB / 283.5 MB, free: 9.512 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.247e-05/0.02534, allocations: 12.31 kB / 283.5 MB, free: 9.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/0.02653, allocations: 1.12 MB / 284.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of pre-optimization done (n=97): time 3.426e-06/0.02653, allocations: 3.984 kB / 284.7 MB, free: 8.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=97): time 0.002193/0.02872, allocations: 2.248 MB / 286.9 MB, free: 5.855 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002235/0.02895, allocations: 0.6063 MB / 287.5 MB, free: 5.133 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.0292, allocations: 462.5 kB / 288 MB, free: 4.668 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/0.02925, allocations: 77.62 kB / 288.1 MB, free: 4.586 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.02939, allocations: 325.6 kB / 288.4 MB, free: 4.262 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.02951, allocations: 258 kB / 288.6 MB, free: 4.008 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.02972, allocations: 290.6 kB / 288.9 MB, free: 3.715 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.02979, allocations: 329.9 kB / 289.2 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.03007, allocations: 0.4929 MB / 289.7 MB, free: 2.828 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006243/0.0307, allocations: 1.084 MB / 290.8 MB, free: 1.426 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009695/0.03167, allocations: 1.839 MB / 292.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.03168, allocations: 4 kB / 292.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.0009423/0.03262, allocations: 1.477 MB / 294.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.03274, allocations: 342.7 kB / 294.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.03276, allocations: 24.84 kB / 294.5 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.03278, allocations: 23.94 kB / 294.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/0.03315, allocations: 243.6 kB / 294.7 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.03317, allocations: 31.92 kB / 294.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.03345, allocations: 158.9 kB / 294.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/0.03351, allocations: 56 kB / 295 MB, free: 12.67 MB / 298.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[1].emptied,P1.inTransition[2].emptied,P1.enableIn.disTransition[1],P1.enableIn.disTransition[2],T1.firingCon,T2.firingCon,P1.reStart,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T2.outPlaces[1].disTransition,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[2],$PRE.P1.enableIn.TEin[1],$PRE.T2.firingTime,$PRE.T1.firingTime,T1.activation.disPlaceOut[1],T2.activation.disPlaceOut[1],T2.activation.arcWeightIntOut[1],T1.activation.arcWeightIntOut[1],T1.enabledByInPlaces,T2.enabledByInPlaces,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].disPlace) * 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.0004728/0.03398, allocations: 0.7173 MB / 295.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.03409, allocations: 127.9 kB / 295.8 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008969/0.03499, allocations: 1.314 MB / 297.1 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.03499, allocations: 11.94 kB / 297.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.035, allocations: 4 kB / 297.2 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.035, allocations: 7.984 kB / 297.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.03669, allocations: 2.05 MB / 299.2 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.03669, allocations: 0 / 299.2 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.995e-05/0.03679, allocations: 47.91 kB / 299.3 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.03679, allocations: 3.938 kB / 299.3 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-05/0.03685, allocations: 43.97 kB / 299.3 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.03685, allocations: 4 kB / 299.3 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.03685, allocations: 7.984 kB / 299.3 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.03798, allocations: 1.882 MB / 301.2 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.03803, allocations: 75.31 kB / 301.3 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.03814, allocations: 71.98 kB / 301.4 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.03834, allocations: 63.95 kB / 301.4 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.0385, allocations: 132.3 kB / 301.5 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/0.03856, allocations: 39.98 kB / 301.6 MB, free: 5.688 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.03867, allocations: 148.7 kB / 301.7 MB, free: 5.535 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03867, allocations: 4 kB / 301.7 MB, free: 5.531 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005775/0.03925, allocations: 371.5 kB / 302.1 MB, free: 5.168 MB / 298.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.001847/0.04109, allocations: 2.682 MB / 304.8 MB, free: 2.379 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.04229, allocations: 2.211 MB / 307 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/0.0423, allocations: 4.5 kB / 307 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007744/0.04307, allocations: 1.455 MB / 308.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.04339, allocations: 148.6 kB / 308.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.04795, allocations: 5.911 MB / 314.5 MB, free: 7.727 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.04806, allocations: 193.1 kB / 314.7 MB, free: 7.516 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001665/0.04822, allocations: 93.69 kB / 314.8 MB, free: 7.422 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006186/0.04884, allocations: 0.5265 MB / 315.3 MB, free: 6.895 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.04884, allocations: 0 / 315.3 MB, free: 6.895 MB / 314.7 MB Notification: FMU-only work: backend 0.001327, simCode 0.001988, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1856/0.2344, allocations: 25.53 MB / 340.8 MB, free: 68.75 MB / 330.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.871/3.105, allocations: 16.56 kB / 340.9 MB, free: 68.75 MB / 330.7 MB " [Timeout remaining time 657] (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: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [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: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [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: "" (rm -f PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 3 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.0012 ../PNlib_PNlib_Examples_DisTest_NoInputConflict_fmpy-fmi3-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.NoInputConflict.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T2.active in file PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T2.active from file PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T2.fire in file PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T2.fire from file PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.active,T1.fire,T2.active,T2.fire,time Variables in the result:time,P1.color[1],P1.color[3],P1.inTransition[1].decreasingFactor,P1.inTransition[2].decreasingFactor filterSimulationResults("PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode.diff.mat", vars={"T2.fire", "T2.active", "T1.fire", "T1.active", "P1.t"}, removeDescription=false) [Timeout 660] "Error: Could not read variable T2.fire in file PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy-fmi3-cs-cvode.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-fmi3-cs-cvode.diff.ref.mat", vars={"T2.fire", "T2.active", "T1.fire", "T1.active", "P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 5.675223998725414]