Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.0009896/0.0009896, 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.001151/0.001151, 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.989/0.989, 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.04912/0.04912, allocations: 12.65 MB / 271.8 MB, free: 0.7266 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 403 MB, free: 8.703 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.806e-05, allocations: 2.281 kB / 403 MB, free: 8.699 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.003003/0.003031, allocations: 1.73 MB / 404.7 MB, free: 6.965 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003469/0.0065, allocations: 1.855 MB / 406.6 MB, free: 5.105 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003468/0.006847, allocations: 7.938 kB / 406.6 MB, free: 5.098 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004195/0.007266, allocations: 119 kB / 406.7 MB, free: 4.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004476/0.007714, allocations: 174.8 kB / 406.9 MB, free: 4.809 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.009543, allocations: 0.9392 MB / 407.8 MB, free: 3.867 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001568/0.01111, allocations: 1.439 MB / 409.3 MB, free: 2.426 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002457/0.01136, allocations: 111.6 kB / 409.4 MB, free: 2.309 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008838/0.01224, allocations: 0.8149 MB / 410.2 MB, free: 1.492 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006714/0.01291, allocations: 482.6 kB / 410.7 MB, free: 1.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000207/0.01312, allocations: 144 kB / 410.8 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.155/0.1682, allocations: 0.9285 MB / 411.7 MB, free: 17.47 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003711/0.1685, allocations: 219.5 kB / 412 MB, free: 17.47 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006156/0.1692, allocations: 436.1 kB / 412.4 MB, free: 17.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00202/0.1712, allocations: 2.096 MB / 414.5 MB, free: 17.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1712, allocations: 0 / 414.5 MB, free: 17.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1712, allocations: 0 / 414.5 MB, free: 17.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.1712, allocations: 0 / 414.5 MB, free: 17.39 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.001598/0.1728, allocations: 1.478 MB / 416 MB, free: 16.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1728, allocations: 12.75 kB / 416 MB, free: 16.51 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001574/0.173, allocations: 166.7 kB / 416.1 MB, free: 16.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000281/0.1733, allocations: 134.1 kB / 416.3 MB, free: 16.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005554/0.1738, allocations: 496 kB / 416.7 MB, free: 16.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.1739, allocations: 201.7 kB / 416.9 MB, free: 16.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.1741, allocations: 115.4 kB / 417.1 MB, free: 16.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/0.1764, allocations: 2.662 MB / 419.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.1764, allocations: 4.562 kB / 419.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.546e-05/0.1765, allocations: 63.17 kB / 419.8 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.1766, allocations: 90.56 kB / 419.9 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.1783, allocations: 1.824 MB / 421.7 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003134/0.1815, allocations: 3.885 MB / 425.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.1828, allocations: 1.426 MB / 427 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.1839, allocations: 1.322 MB / 428.3 MB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-05/0.184, allocations: 6.875 kB / 428.3 MB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/0.1854, allocations: 1.754 MB / 430.1 MB, free: 8.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=91): time 1.743e-06/0.1854, allocations: 0 / 430.1 MB, free: 8.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=91): time 0.004279/0.1897, allocations: 4.924 MB / 435 MB, free: 6.559 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001781/0.1899, allocations: 0.6466 MB / 435.7 MB, free: 5.902 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.1902, allocations: 0.5248 MB / 436.2 MB, free: 5.625 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.428e-05/0.1903, allocations: 74.89 kB / 436.3 MB, free: 5.574 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.1905, allocations: 356.8 kB / 436.6 MB, free: 5.297 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.1906, allocations: 249.6 kB / 436.9 MB, free: 5.129 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000267/0.1909, allocations: 297.2 kB / 437.1 MB, free: 5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.104e-05/0.1909, allocations: 326 kB / 437.5 MB, free: 4.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006424/0.1915, allocations: 0.8911 MB / 438.4 MB, free: 4.047 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007281/0.1923, allocations: 1.531 MB / 439.9 MB, free: 2.602 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/0.1942, allocations: 3.215 MB / 443.1 MB, free: 28 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.1942, allocations: 2.719 kB / 443.1 MB, free: 28 kB / 330.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.002173/0.1963, allocations: 2.593 MB / 445.7 MB, free: 13.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.1965, allocations: 352.2 kB / 446 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.1965, allocations: 12 kB / 446 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.1965, allocations: 24 kB / 446.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.1968, allocations: 152.5 kB / 446.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.1968, allocations: 34.58 kB / 446.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.1972, allocations: 176.2 kB / 446.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.922e-05/0.1973, allocations: 71.98 kB / 446.5 MB, free: 12.94 MB / 346.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" 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.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 ) \"priority Index\" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer 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: 62 * Number of states: 0 () * Number of discrete variables: 149 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,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],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.reStart,$whenCondition7,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000702/0.198, allocations: 0.8837 MB / 447.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.1981, allocations: 95.62 kB / 447.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003515/0.2016, allocations: 3.902 MB / 451.4 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.2016, allocations: 8 kB / 451.4 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2016, allocations: 0 / 451.4 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.2016, allocations: 7.922 kB / 451.4 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004594/0.2062, allocations: 5.057 MB / 456.4 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2062, allocations: 0 / 456.4 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.156e-05/0.2063, allocations: 39.81 kB / 456.5 MB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.2063, allocations: 0 / 456.5 MB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.983e-05/0.2064, allocations: 65.31 kB / 456.5 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2064, allocations: 0 / 456.5 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2064, allocations: 0 / 456.5 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003457/0.2099, allocations: 4.03 MB / 460.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.2099, allocations: 59.73 kB / 460.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.2101, allocations: 95.91 kB / 460.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.2104, allocations: 107.9 kB / 460.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004153/0.2108, allocations: 380.1 kB / 461.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.83e-05/0.2109, allocations: 63.09 kB / 461.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002117/0.2112, allocations: 306.5 kB / 461.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2112, allocations: 4 kB / 461.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001187/0.2123, allocations: 499.2 kB / 462.1 MB, free: 13.03 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],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,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 56 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004305/0.2166, allocations: 4.989 MB / 467 MB, free: 7.965 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002509/0.2192, allocations: 3.215 MB / 470.3 MB, free: 4.543 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2192, allocations: 0 / 470.3 MB, free: 4.543 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001592/0.2207, allocations: 2.023 MB / 472.3 MB, free: 2.375 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.2212, allocations: 137.6 kB / 472.4 MB, free: 2.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009687/0.2309, allocations: 11.63 MB / 484 MB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.2312, allocations: 436.5 kB / 484.5 MB, free: 5.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003283/0.2315, allocations: 217.2 kB / 484.7 MB, free: 5.125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.2317, allocations: 252.4 kB / 484.9 MB, free: 4.879 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2317, allocations: 0 / 484.9 MB, free: 4.879 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0902/0.3219, allocations: 26.19 MB / 0.4991 GB, free: 10.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/8.109, allocations: 13.7 kB / 0.4992 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight.fmu) > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.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.DisLoopAndArcweight_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.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.DisLoopAndArcweight_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.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.DisLoopAndArcweight_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy_res.csv --output-variables P1.t T1.active T1.fire T1.fire --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight.fmu) > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.active,T1.fire,T1.fire,time Variables in the result: filterSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy_res.csv: [:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 660] Failed to write the differing variables of /mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 11.083786254748702]