Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.PCtoTDfunction.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.001232/0.001232, 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.0009695/0.0009695, 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.9272/0.9272, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.04938/0.04938, allocations: 12.64 MB / 271.8 MB, free: 0.7383 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.HybTest.PCtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_HybTest_PCtoTDfunction",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.PCtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_HybTest_PCtoTDfunction",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 403 MB, free: 9.906 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.298e-05/1.437e-05, allocations: 6.219 kB / 403 MB, free: 9.898 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTDfunction): time 0.002357/0.002371, allocations: 1.806 MB / 404.8 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.00436, allocations: 1.524 MB / 406.3 MB, free: 6.551 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.004507, allocations: 7.938 kB / 406.4 MB, free: 6.543 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.004753, allocations: 134.9 kB / 406.5 MB, free: 6.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.005073, allocations: 155 kB / 406.6 MB, free: 6.258 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007628/0.005836, allocations: 0.6927 MB / 407.3 MB, free: 5.566 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007582/0.006594, allocations: 1.287 MB / 408.6 MB, free: 4.277 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.006737, allocations: 72.64 kB / 408.7 MB, free: 4.203 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004496/0.007186, allocations: 0.7292 MB / 409.4 MB, free: 3.473 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000305/0.007491, allocations: 314.9 kB / 409.7 MB, free: 3.164 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.756e-05/0.007569, allocations: 84 kB / 409.8 MB, free: 3.082 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005194/0.008088, allocations: 0.542 MB / 410.3 MB, free: 2.539 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.008223, allocations: 175.2 kB / 410.5 MB, free: 2.367 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.00841, allocations: 271.3 kB / 410.8 MB, free: 2.102 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009025/0.009312, allocations: 1.27 MB / 412.1 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.009314, allocations: 0 / 412.1 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.009315, allocations: 0 / 412.1 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.108e-06/0.009324, allocations: 4 kB / 412.1 MB, free: 0.8242 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001201/0.01053, allocations: 1.316 MB / 413.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.01056, allocations: 8.031 kB / 413.4 MB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.01066, allocations: 122.7 kB / 413.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003456/0.01101, allocations: 152.4 kB / 413.6 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.0114, allocations: 356.8 kB / 414 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.01152, allocations: 231.6 kB / 414.2 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/0.0116, allocations: 75.98 kB / 414.3 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.01301, allocations: 1.756 MB / 416.1 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.01303, allocations: 4 kB / 416.1 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.534e-05/0.01308, allocations: 35.98 kB / 416.1 MB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-05/0.01314, allocations: 61.27 kB / 416.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.01427, allocations: 1.242 MB / 417.4 MB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/0.0166, allocations: 2.714 MB / 420.1 MB, free: 8.289 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008884/0.01748, allocations: 1.026 MB / 421.1 MB, free: 7.184 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006631/0.01815, allocations: 0.8777 MB / 422 MB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00051/0.01866, allocations: 319.6 kB / 422.3 MB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008518/0.01951, allocations: 1.156 MB / 423.5 MB, free: 4.664 MB / 394.7 MB Notification: Performance of pre-optimization done (n=72): time 1.443e-06/0.01951, allocations: 0 / 423.5 MB, free: 4.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=72): time 0.002486/0.022, allocations: 2.988 MB / 426.5 MB, free: 1.508 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002122/0.02221, allocations: 0.5867 MB / 427.1 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.02252, allocations: 425.2 kB / 427.5 MB, free: 392 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.02258, allocations: 65.69 kB / 427.5 MB, free: 320 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.02271, allocations: 292.7 kB / 427.8 MB, free: 20 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.02284, allocations: 190.7 kB / 428 MB, free: 15.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.02304, allocations: 226.5 kB / 428.2 MB, free: 15.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.02314, allocations: 374.8 kB / 428.6 MB, free: 15.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005804/0.02372, allocations: 0.7585 MB / 429.4 MB, free: 14.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007301/0.02445, allocations: 1.228 MB / 430.6 MB, free: 12.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/0.02648, allocations: 2.488 MB / 433.1 MB, free: 10.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.02649, allocations: 4 kB / 433.1 MB, free: 10.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001797/0.02829, allocations: 2.17 MB / 435.2 MB, free: 7.781 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.02844, allocations: 362.5 kB / 435.6 MB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007834/0.02922, allocations: 0.9476 MB / 436.5 MB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.02924, allocations: 20.56 kB / 436.6 MB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.02946, allocations: 131.7 kB / 436.7 MB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.02948, allocations: 23.92 kB / 436.7 MB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.02975, allocations: 135.2 kB / 436.8 MB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-05/0.02981, allocations: 56 kB / 436.9 MB, free: 6.004 MB / 410.7 MB Warning: Assuming fixed start value for the following 21 variables: 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.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.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 P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" 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: 53 * Number of states: 0 () * Number of discrete variables: 115 ($PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$PRE.P1.disMarksInOut,T1.inPlaces[1].tokenInOut,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.randNum,$PRE.P1.enableIn.randNum,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$whenCondition1,P1.feeding.anytrue,P1.feeding.numtrue,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,$PRE.P1.enableOut.TEout[1],$PRE.T1.firingTime,T1.activation.arcWeightIntIn[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],P1.fireOut[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.TEout[1],P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,T1.active,T1.firingTime,T1.delayPassed,$PRE.T1.delayPassed,T1.activation.active,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * 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.0004968/0.03031, allocations: 0.7536 MB / 437.7 MB, free: 5.176 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.03041, allocations: 75.67 kB / 437.7 MB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.03209, allocations: 1.894 MB / 439.6 MB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.0321, allocations: 4 kB / 439.6 MB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.0321, allocations: 0 / 439.6 MB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.03211, allocations: 7.984 kB / 439.6 MB, free: 3.129 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/0.03457, allocations: 2.683 MB / 442.3 MB, free: 340 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.1335/0.168, allocations: 1.803 MB / 444.1 MB, free: 80.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.1681, allocations: 34.86 kB / 444.2 MB, free: 80.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1681, allocations: 3.5 kB / 444.2 MB, free: 80.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.585e-05/0.1682, allocations: 38.98 kB / 444.2 MB, free: 80.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1682, allocations: 6.359 kB / 444.2 MB, free: 80.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1682, allocations: 3.5 kB / 444.2 MB, free: 80.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.1706, allocations: 3.576 MB / 447.8 MB, free: 78.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.1707, allocations: 55.73 kB / 447.8 MB, free: 78.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.1708, allocations: 65.36 kB / 447.9 MB, free: 78.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.171, allocations: 69.23 kB / 448 MB, free: 78.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002914/0.1713, allocations: 306.2 kB / 448.3 MB, free: 78.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/0.1713, allocations: 44.41 kB / 448.3 MB, free: 78.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001468/0.1715, allocations: 243.2 kB / 448.5 MB, free: 78.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1715, allocations: 0 / 448.5 MB, free: 78.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000637/0.1721, allocations: 316.1 kB / 448.9 MB, free: 77.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (P1.t_) * Number of discrete variables: 60 (P1.feeding.numtrue,P1.feeding.anytrue,$whenCondition1,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,T1.activation.active,T1.ani,T1.delayPassed,T1.fireTime,T1.firingTime,T1.inPlaces[1].tokenInOut,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,P1.enableOut.cumEnablingProb[1],P1.enableOut.remTAout[1],P1.enableOut.disTAout[1],P1.enableOut.TEout[1],P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.disMarksInOut,P1.emptying.numtrue,P1.emptying.anytrue) * Number of discrete states: 49 (P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksIn.numtrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.disMarksOut.numtrue,P1.disMarkChange,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$whenCondition1,P1.feeding.numtrue,P1.feeding.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * 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.002829/0.1749, allocations: 4.39 MB / 453.2 MB, free: 75.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.1764, allocations: 2.629 MB / 455.9 MB, free: 73.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1764, allocations: 2.953 kB / 455.9 MB, free: 73.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007903/0.1772, allocations: 1.642 MB / 457.5 MB, free: 72.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.1775, allocations: 91.31 kB / 457.6 MB, free: 72.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006015/0.1836, allocations: 9.594 MB / 467.2 MB, free: 65.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.1837, allocations: 332.9 kB / 467.5 MB, free: 65.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001825/0.1839, allocations: 131.8 kB / 467.7 MB, free: 65.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.184, allocations: 189.5 kB / 467.8 MB, free: 65.71 MB / 410.7 MB Notification: Performance of SimCode: time 4.8e-07/0.184, allocations: 6.594 kB / 467.8 MB, free: 65.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08776/0.2718, allocations: 18.32 MB / 486.2 MB, free: 62.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.697/7.969, allocations: 8.859 kB / 486.2 MB, free: 62.77 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.HybTest.PCtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.PCtoTDfunction_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_PCtoTDfunction_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_PCtoTDfunction.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTDfunction.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTDfunction.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_PCtoTDfunction_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_PCtoTDfunction_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTDfunction.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.active,T1.fire,time Variables in the result:P1.N,P1.animateMarking,P1.color[1],P1.color[2],P1.color[3],P1.enablingPrioOut[1],P1.enablingProbOut[1],P1.enablingType,P1.levelCon,P1.localSeedIn,P1.localSeedOut,P1.maxMarks,P1.minMarks,P1.nIn,P1.nOut,P1.outTransition[1].active,P1.outTransition[1].arcType,P1.outTransition[1].arcWeight,P1.outTransition[1].arcWeightint,P1.outTransition[1].decreasingFactor,P1.outTransition[1].disPlace,P1.outTransition[1].disTransition,P1.outTransition[1].enable,P1.outTransition[1].fed,P1.outTransition[1].fire,P1.outTransition[1].instSpeed,P1.outTransition[1].maxSpeed,P1.outTransition[1].minTokens,P1.outTransition[1].minTokensint,P1.outTransition[1].normalArc,P1.outTransition[1].prelimSpeed,P1.outTransition[1].speedSum,P1.outTransition[1].t,P1.outTransition[1].testValue,P1.outTransition[1].testValueint,P1.outTransition[1].tint,P1.outTransition[1].tokenInOut,P1.pc_t,P1.reStart,P1.reStartMarks,P1.showCapacity,P1.showPlaceName,P1.showTokenFlow,P1.startMarks,P1.t,P1.t_,T1.active,T1.arcWeightIn[1],T1.delay,T1.fire,T1.firingCon,T1.inPlaces[1].active,T1.inPlaces[1].arcType,T1.inPlaces[1].arcWeight,T1.inPlaces[1].arcWeightint,T1.inPlaces[1].decreasingFactor,T1.inPlaces[1].disPlace,T1.inPlaces[1].disTransition,T1.inPlaces[1].enable,T1.inPlaces[1].fed,T1.inPlaces[1].fire,T1.inPlaces[1].instSpeed,T1.inPlaces[1].maxSpeed,T1.inPlaces[1].minTokens,T1.inPlaces[1].minTokensint,T1.inPlaces[1].normalArc,T1.inPlaces[1].prelimSpeed,T1.inPlaces[1].speedSum,T1.inPlaces[1].t,T1.inPlaces[1].testValue,T1.inPlaces[1].testValueint,T1.inPlaces[1].tint,T1.inPlaces[1].tokenInOut,T1.nIn,T1.nOut,_D_OMC_D_CF_D_init1[1],_D_OMC_D_CF_D_sim1[1],der(P1.t_),settings.M,settings.N,settings.animateHazardFunc,settings.animateMarking,settings.animatePlace,settings.animatePutFireTime,settings.animateSpeed,settings.animateTIarc,settings.animateTransition,settings.animateWeightTIarc,settings.globalSeed,settings.scale,settings.showCapacity,settings.showPlaceName,settings.showTime,settings.showTokenFlow,settings.showTransitionName,settings.timeFire,time filterSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-cvode.diff.mat", vars={"P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTDfunction.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-cvode.diff.ref.mat", vars={"P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_PCtoTDfunction_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_PCtoTDfunction_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTDfunction_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTDfunction.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy_res.csv --output-variables P1.t T1.active T1.fire --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../PNlib_PNlib_Examples_HybTest_PCtoTDfunction.fmu) > PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTDfunction.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.HybTest.PCtoTDfunction_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.HybTest.PCtoTDfunction_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.HybTest.PCtoTDfunction_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.HybTest.PCtoTDfunction_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.PCtoTDfunction.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction_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.HybTest.PCtoTDfunction.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.PCtoTDfunction_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 10.869908539578319]