Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.001048/0.001048, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001513/0.002561, allocations: 447.7 kB / 10.29 MB, free: 420 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001397/0.002481, allocations: 480.2 kB / 11.64 MB, free: 2.535 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.865/0.865, allocations: 177.1 MB / 189.5 MB, free: 3.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1354/1, allocations: 53.66 MB / 243.2 MB, free: 2.402 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.05665/0.05665, allocations: 12.66 MB / 256.6 MB, free: 5.281 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006128/0.06277, allocations: 4.695 MB / 261.3 MB, free: 0.5703 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 262.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.384e-06/8.977e-06, allocations: 5.547 kB / 262.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.001741/0.00175, allocations: 1.793 MB / 264.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.003795, allocations: 1.901 MB / 266.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.00394, allocations: 11.94 kB / 266.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.004128, allocations: 111.1 kB / 266.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.004368, allocations: 143 kB / 266.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.005427, allocations: 0.8806 MB / 267.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009349/0.006362, allocations: 1.307 MB / 268.6 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.006493, allocations: 69.88 kB / 268.7 MB, free: 9.098 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005839/0.007077, allocations: 0.7883 MB / 269.5 MB, free: 8.305 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.007406, allocations: 319 kB / 269.8 MB, free: 7.992 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.391e-05/0.00749, allocations: 88 kB / 269.9 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006083/0.008099, allocations: 0.6356 MB / 270.5 MB, free: 7.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.008211, allocations: 135.4 kB / 270.7 MB, free: 7.137 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.008405, allocations: 223.7 kB / 270.9 MB, free: 6.918 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007619/0.009167, allocations: 0.9427 MB / 271.8 MB, free: 5.973 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.009176, allocations: 0 / 271.8 MB, free: 5.973 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.009177, allocations: 0 / 271.8 MB, free: 5.973 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.009187, allocations: 0 / 271.8 MB, free: 5.973 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001038/0.01022, allocations: 1.184 MB / 273 MB, free: 4.699 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.01025, allocations: 12.03 kB / 273 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.13e-05/0.01035, allocations: 126.6 kB / 273.1 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/0.01059, allocations: 225.9 kB / 273.4 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.01088, allocations: 272.8 kB / 273.6 MB, free: 4.023 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.226e-05/0.01095, allocations: 116.8 kB / 273.7 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.077e-05/0.01102, allocations: 79.98 kB / 273.8 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009468/0.01197, allocations: 1.355 MB / 275.2 MB, free: 2.305 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.01199, allocations: 7.938 kB / 275.2 MB, free: 2.297 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.037e-05/0.01204, allocations: 35.98 kB / 275.2 MB, free: 2.262 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.733e-05/0.01209, allocations: 52.95 kB / 275.3 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006064/0.0127, allocations: 0.8063 MB / 276.1 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.01455, allocations: 2.622 MB / 278.7 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005736/0.01513, allocations: 0.8181 MB / 279.5 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004472/0.01557, allocations: 0.6629 MB / 280.2 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.01561, allocations: 12 kB / 280.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007509/0.01636, allocations: 1.04 MB / 281.2 MB, free: 11.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=77): time 1.423e-06/0.01636, allocations: 0 / 281.2 MB, free: 11.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=77): time 0.001455/0.01781, allocations: 2.077 MB / 283.3 MB, free: 9.656 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002096/0.01802, allocations: 0.5308 MB / 283.8 MB, free: 9.023 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.01822, allocations: 366.8 kB / 284.2 MB, free: 8.656 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/0.01828, allocations: 69.69 kB / 284.3 MB, free: 8.582 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.01838, allocations: 237.5 kB / 284.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.01853, allocations: 206.5 kB / 284.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.01871, allocations: 226.4 kB / 284.9 MB, free: 7.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.01881, allocations: 374.6 kB / 285.3 MB, free: 7.543 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.01911, allocations: 0.4981 MB / 285.8 MB, free: 6.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000478/0.01959, allocations: 0.9359 MB / 286.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009494/0.02054, allocations: 1.666 MB / 288.4 MB, free: 3.832 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.02055, allocations: 0 / 288.4 MB, free: 3.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.0009215/0.02147, allocations: 1.362 MB / 289.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.02161, allocations: 329 kB / 290.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.02162, allocations: 12 kB / 290.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.02164, allocations: 23.94 kB / 290.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.02195, allocations: 184.4 kB / 290.3 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.02197, allocations: 27.92 kB / 290.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.02222, allocations: 131.2 kB / 290.4 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/0.02228, allocations: 44 kB / 290.5 MB, free: 1.539 MB / 282.7 MB Warning: Assuming fixed start value for the following 25 variables: 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 P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real 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 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: 51 * Number of states: 0 () * Number of discrete variables: 128 ($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,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$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,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,P1.outTransition[1].fed,T1.enabledByOutPlaces,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableOut.arcWeight[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[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,$whenCondition3,$whenCondition4,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,T1.firingCon) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 123 * 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.0004633/0.02274, allocations: 0.6629 MB / 291.1 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.02285, allocations: 131.8 kB / 291.3 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000878/0.02373, allocations: 1.205 MB / 292.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.02374, allocations: 8 kB / 292.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.02375, allocations: 3.938 kB / 292.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.02375, allocations: 3.984 kB / 292.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.02519, allocations: 1.855 MB / 294.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.02519, allocations: 4 kB / 294.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.942e-05/0.02527, allocations: 35.92 kB / 294.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.02528, allocations: 4 kB / 294.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.469e-05/0.02533, allocations: 39.95 kB / 294.4 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.02533, allocations: 4 kB / 294.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.02534, allocations: 0 / 294.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.02643, allocations: 1.727 MB / 296.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.02647, allocations: 51.55 kB / 296.2 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.02659, allocations: 75.97 kB / 296.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.0268, allocations: 79.94 kB / 296.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003301/0.02713, allocations: 306.5 kB / 296.7 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-05/0.02719, allocations: 47.97 kB / 296.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.852e-05/0.02727, allocations: 112.7 kB / 296.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02727, allocations: 0 / 296.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005419/0.02781, allocations: 335.6 kB / 297.2 MB, free: 10.48 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 69 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.arcWeight[1],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,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,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,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,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,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * 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.001707/0.02952, allocations: 2.516 MB / 299.7 MB, free: 7.867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.03072, allocations: 2.053 MB / 301.7 MB, free: 5.578 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.03073, allocations: 4.312 kB / 301.7 MB, free: 5.574 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007671/0.03149, allocations: 1.338 MB / 303.1 MB, free: 4.086 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.03179, allocations: 120.1 kB / 303.2 MB, free: 3.973 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/0.03535, allocations: 4.652 MB / 307.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.852e-05/0.03544, allocations: 155.9 kB / 308 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.03558, allocations: 76.59 kB / 308.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005993/0.03618, allocations: 459.1 kB / 308.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.03618, allocations: 0 / 308.5 MB, free: 14.21 MB / 314.7 MB Notification: FMU-only work: backend 0.001182, simCode 0.001746, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09663/0.1328, allocations: 24.14 MB / 332.6 MB, free: 5.91 MB / 330.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.963/3.096, allocations: 18.91 kB / 332.7 MB, free: 5.895 MB / 330.7 MB " [Timeout remaining time 657] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTDfunction_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_PDtoTDfunction_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.PDtoTDfunction_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_DisTest_PDtoTDfunction.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.DisTest.PDtoTDfunction_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.DisTest.PDtoTDfunction_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy_res.csv: [:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of /mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy.diff.ref.mat: "" (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy-fmi3-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.002 ../PNlib_PNlib_Examples_DisTest_PDtoTDfunction_fmpy-fmi3-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.active,T1.fire,time Variables in the result:time,P1.color[1],P1.color[3],P1.levelCon,P1.outTransition[1].decreasingFactor filterSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy-fmi3-cs-cvode.diff.mat", vars={"T1.fire", "T1.active", "P1.t"}, removeDescription=false) [Timeout 660] "Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"T1.fire", "T1.active", "P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 5.579279207624495]