Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TDtoPCfunction.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.0009994/0.0009994, 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.001037/0.001037, allocations: 169.8 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9324/0.9324, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.08408/0.08408, allocations: 12.64 MB / 271.8 MB, free: 0.7188 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.TDtoPCfunction,fileNamePrefix="PNlib_PNlib_Examples_HybTest_TDtoPCfunction",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.TDtoPCfunction,fileNamePrefix="PNlib_PNlib_Examples_HybTest_TDtoPCfunction",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 403 MB, free: 8.715 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.335e-05, allocations: 5.234 kB / 403 MB, free: 8.711 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPCfunction): time 0.00323/0.003254, allocations: 1.81 MB / 404.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002872/0.006125, allocations: 1.524 MB / 406.3 MB, free: 5.363 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003829/0.006508, allocations: 11.94 kB / 406.4 MB, free: 5.352 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003568/0.006865, allocations: 123 kB / 406.5 MB, free: 5.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004775/0.007343, allocations: 139 kB / 406.6 MB, free: 5.094 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.008836, allocations: 0.699 MB / 407.3 MB, free: 4.395 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001502/0.01034, allocations: 1.28 MB / 408.6 MB, free: 3.109 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.01055, allocations: 68.34 kB / 408.7 MB, free: 3.043 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002225/0.01278, allocations: 0.7097 MB / 409.4 MB, free: 2.332 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003938/0.01317, allocations: 298.9 kB / 409.7 MB, free: 2.039 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.629e-05/0.01325, allocations: 72 kB / 409.7 MB, free: 1.969 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006034/0.01385, allocations: 0.5381 MB / 410.3 MB, free: 1.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.01411, allocations: 163.2 kB / 410.4 MB, free: 1.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.01429, allocations: 235.4 kB / 410.7 MB, free: 1.039 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1363/0.1506, allocations: 1.156 MB / 411.8 MB, free: 17.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1506, allocations: 0 / 411.8 MB, free: 17.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1506, allocations: 0.8438 kB / 411.8 MB, free: 17.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.875e-05/0.1507, allocations: 0 / 411.8 MB, free: 17.2 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001603/0.1523, allocations: 1.244 MB / 413.1 MB, free: 16.42 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1523, allocations: 12.12 kB / 413.1 MB, free: 16.42 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.1524, allocations: 124.4 kB / 413.2 MB, free: 16.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004186/0.1529, allocations: 138.3 kB / 413.3 MB, free: 16.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.1533, allocations: 349.6 kB / 413.7 MB, free: 16.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.1534, allocations: 216.9 kB / 413.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.611e-05/0.1535, allocations: 71.11 kB / 413.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.155, allocations: 1.577 MB / 415.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.155, allocations: 1.188 kB / 415.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.557e-05/0.1551, allocations: 33.98 kB / 415.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-05/0.1552, allocations: 52.8 kB / 415.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.1563, allocations: 1.104 MB / 416.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/0.1587, allocations: 2.476 MB / 419.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008839/0.1596, allocations: 0.9464 MB / 420.1 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006736/0.1603, allocations: 0.8041 MB / 420.9 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006864/0.161, allocations: 318.1 kB / 421.2 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009168/0.1619, allocations: 1.083 MB / 422.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 2.024e-06/0.1619, allocations: 0 / 422.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=72): time 0.002697/0.1646, allocations: 2.738 MB / 425.1 MB, free: 10.31 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/0.1647, allocations: 0.5731 MB / 425.6 MB, free: 9.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.1651, allocations: 377.3 kB / 426 MB, free: 9.473 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.518e-05/0.1652, allocations: 58.95 kB / 426.1 MB, free: 9.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.1653, allocations: 261.9 kB / 426.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.1655, allocations: 195.6 kB / 426.5 MB, free: 9.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.1657, allocations: 204.9 kB / 426.7 MB, free: 9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.119e-05/0.1657, allocations: 366.5 kB / 427.1 MB, free: 8.664 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005044/0.1662, allocations: 0.6474 MB / 427.7 MB, free: 8.199 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006252/0.1669, allocations: 1.067 MB / 428.8 MB, free: 7.219 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.1685, allocations: 2.13 MB / 430.9 MB, free: 5.559 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.1685, allocations: 2.906 kB / 430.9 MB, free: 5.559 MB / 330.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001664/0.1702, allocations: 1.882 MB / 432.8 MB, free: 4.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.943e-05/0.1703, allocations: 342.9 kB / 433.1 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000628/0.1709, allocations: 0.7122 MB / 433.8 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.114e-05/0.171, allocations: 14.75 kB / 433.9 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.1712, allocations: 118.4 kB / 434 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/0.1712, allocations: 22.5 kB / 434 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.1715, allocations: 108.5 kB / 434.1 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/0.1716, allocations: 51.81 kB / 434.2 MB, free: 3.582 MB / 330.7 MB Warning: Assuming fixed start value for the following 21 variables: 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.enableIn.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.enableOut.Index:DISCRETE(fixed = true protected = true ) 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 P1.enableOut.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: 46 * Number of states: 0 () * Number of discrete variables: 108 ($PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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,P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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,$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,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,$whenCondition1,P1.emptying.anytrue,P1.emptying.numtrue,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,P1.reStart,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,$PRE.P1.enableIn.TEin[1],$PRE.T1.firingTime,T1.enabledByInPlaces,T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],P1.fireIn[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.TEin[1],P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.active,T1.firingTime,T1.delayPassed,$PRE.T1.delayPassed,T1.activation.active,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 105 * 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.0006857/0.1723, allocations: 0.7129 MB / 434.9 MB, free: 3.051 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.1724, allocations: 78.25 kB / 434.9 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.1741, allocations: 1.728 MB / 436.7 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1741, allocations: 3.875 kB / 436.7 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1741, allocations: 1.906 kB / 436.7 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1741, allocations: 5.25 kB / 436.7 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.1765, allocations: 2.484 MB / 439.2 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001414/0.1779, allocations: 1.646 MB / 440.8 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.178, allocations: 32.33 kB / 440.8 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.178, allocations: 6.703 kB / 440.9 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-05/0.1781, allocations: 33.97 kB / 440.9 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.1781, allocations: 3.656 kB / 440.9 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1781, allocations: 1.812 kB / 440.9 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002866/0.1809, allocations: 3.305 MB / 444.2 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.616e-05/0.181, allocations: 56.27 kB / 444.3 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.1812, allocations: 64.45 kB / 444.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.1814, allocations: 57.64 kB / 444.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.1815, allocations: 88.09 kB / 444.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/0.1816, allocations: 38.7 kB / 444.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001738/0.1818, allocations: 227.7 kB / 444.7 MB, free: 13.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1818, allocations: 4.062 kB / 444.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000834/0.1826, allocations: 287.3 kB / 445 MB, free: 13.32 MB / 346.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.emptying.numtrue,P1.emptying.anytrue,$whenCondition1,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,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.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.fireIn[1],T1.active,P1.disMarksInOut,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,T1.activation.active,T1.ani,T1.delayPassed,T1.fireTime,T1.firingTime,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],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.cumEnablingProb[1],P1.enableIn.remTAin[1],P1.enableIn.disTAin[1],P1.enableIn.TEin[1],P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.feeding.numtrue,P1.feeding.anytrue) * Number of discrete states: 48 (P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition2,P1.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarkChange,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,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,P1.enableOut.arcWeightSum,$whenCondition1,P1.emptying.numtrue,P1.emptying.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.004014/0.1866, allocations: 4.114 MB / 449.1 MB, free: 9.148 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002528/0.1892, allocations: 2.416 MB / 451.5 MB, free: 6.504 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.1892, allocations: 5.938 kB / 451.5 MB, free: 6.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001437/0.1906, allocations: 1.505 MB / 453 MB, free: 4.832 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005838/0.1912, allocations: 92.31 kB / 453.1 MB, free: 4.746 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.2016, allocations: 8.808 MB / 461.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.2018, allocations: 316.5 kB / 462.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000297/0.2021, allocations: 120.8 kB / 462.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.2023, allocations: 172.4 kB / 462.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2023, allocations: 8 kB / 462.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.114/0.3163, allocations: 16.35 MB / 478.9 MB, free: 10.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.242, allocations: 14.64 kB / 478.9 MB, free: 10.29 MB / 378.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe >> ../files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.TDtoPCfunction_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_TDtoPCfunction_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_TDtoPCfunction.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPCfunction.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPCfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPCfunction.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.TDtoPCfunction_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_TDtoPCfunction_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_TDtoPCfunction_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPCfunction.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.enablingPrioIn[1],P1.enablingProbIn[1],P1.enablingType,P1.inTransition[1].active,P1.inTransition[1].arcWeight,P1.inTransition[1].arcWeightint,P1.inTransition[1].decreasingFactor,P1.inTransition[1].disPlace,P1.inTransition[1].disTransition,P1.inTransition[1].emptied,P1.inTransition[1].enable,P1.inTransition[1].enabledByInPlaces,P1.inTransition[1].fire,P1.inTransition[1].instSpeed,P1.inTransition[1].maxSpeed,P1.inTransition[1].maxTokens,P1.inTransition[1].maxTokensint,P1.inTransition[1].prelimSpeed,P1.inTransition[1].speedSum,P1.inTransition[1].t,P1.inTransition[1].tint,P1.levelCon,P1.localSeedIn,P1.localSeedOut,P1.maxMarks,P1.minMarks,P1.nIn,P1.nOut,P1.pc_t,P1.reStart,P1.reStartMarks,P1.showCapacity,P1.showPlaceName,P1.showTokenFlow,P1.startMarks,P1.t,P1.t_,T1.active,T1.arcWeightOut[1],T1.delay,T1.fire,T1.firingCon,T1.nIn,T1.nOut,T1.outPlaces[1].active,T1.outPlaces[1].arcWeight,T1.outPlaces[1].arcWeightint,T1.outPlaces[1].decreasingFactor,T1.outPlaces[1].disPlace,T1.outPlaces[1].disTransition,T1.outPlaces[1].emptied,T1.outPlaces[1].enable,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].fire,T1.outPlaces[1].instSpeed,T1.outPlaces[1].maxSpeed,T1.outPlaces[1].maxTokens,T1.outPlaces[1].maxTokensint,T1.outPlaces[1].prelimSpeed,T1.outPlaces[1].speedSum,T1.outPlaces[1].t,T1.outPlaces[1].tint,_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.TDtoPCfunction_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-cvode.diff.mat", vars={"P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPCfunction.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-cvode.diff.ref.mat", vars={"P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_HybTest_TDtoPCfunction_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_HybTest_TDtoPCfunction_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPCfunction_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPCfunction.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.TDtoPCfunction_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.HybTest.TDtoPCfunction_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_TDtoPCfunction.fmu) > PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPCfunction.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.HybTest.TDtoPCfunction_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.TDtoPCfunction_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.HybTest.TDtoPCfunction_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.TDtoPCfunction_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.TDtoPCfunction.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction_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.TDtoPCfunction.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.TDtoPCfunction_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 11.02602811716497]