Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.TCtoPC.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.0009474/0.0009474, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.002361, 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.0009762/0.0009762, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001264/0.00224, 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.9697/0.9697, allocations: 177.2 MB / 189.5 MB, free: 3.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1772/1.147, allocations: 53.66 MB / 243.2 MB, free: 2.379 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.1116/0.1116, allocations: 12.65 MB / 256.6 MB, free: 5.262 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009481/0.1211, allocations: 4.695 MB / 261.3 MB, free: 0.5508 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.ConTest.TCtoPC,fileNamePrefix="PNlib_PNlib_Examples_ConTest_TCtoPC",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.TCtoPC,fileNamePrefix="PNlib_PNlib_Examples_ConTest_TCtoPC",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 262.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.554e-06/8.727e-06, allocations: 2.312 kB / 262.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.TCtoPC): time 0.002715/0.002724, allocations: 1.898 MB / 264.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002834/0.005558, allocations: 1.668 MB / 266 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.005798, allocations: 11.94 kB / 266.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.006075, allocations: 142.9 kB / 266.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003755/0.006451, allocations: 143 kB / 266.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.007834, allocations: 0.713 MB / 267 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001654/0.009488, allocations: 1.315 MB / 268.4 MB, free: 9.438 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.009651, allocations: 76.95 kB / 268.4 MB, free: 9.355 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008832/0.01053, allocations: 0.7816 MB / 269.2 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004372/0.01097, allocations: 295.1 kB / 269.5 MB, free: 8.281 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.01108, allocations: 72 kB / 269.6 MB, free: 8.211 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009219/0.01201, allocations: 0.6225 MB / 270.2 MB, free: 7.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.01217, allocations: 139.4 kB / 270.3 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.01241, allocations: 187.6 kB / 270.5 MB, free: 7.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.0135, allocations: 0.8608 MB / 271.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.01351, allocations: 0 / 271.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01351, allocations: 3.938 kB / 271.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.01352, allocations: 0 / 271.4 MB, free: 6.402 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.001434/0.01496, allocations: 1.168 MB / 272.6 MB, free: 5.141 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.01499, allocations: 16.03 kB / 272.6 MB, free: 5.125 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.01509, allocations: 122.5 kB / 272.7 MB, free: 4.996 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005123/0.0156, allocations: 277.8 kB / 273 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.01595, allocations: 260.9 kB / 273.2 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.01609, allocations: 216.1 kB / 273.4 MB, free: 4.176 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.777e-05/0.01619, allocations: 80.36 kB / 273.5 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.0173, allocations: 1.215 MB / 274.7 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.01732, allocations: 3.938 kB / 274.7 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.789e-05/0.01738, allocations: 28 kB / 274.7 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.919e-05/0.01746, allocations: 52.95 kB / 274.8 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008964/0.01835, allocations: 0.6925 MB / 275.5 MB, free: 1.906 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.02044, allocations: 2.132 MB / 277.6 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005717/0.02101, allocations: 0.7169 MB / 278.3 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004358/0.02145, allocations: 0.5671 MB / 278.9 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006528/0.0221, allocations: 363.7 kB / 279.3 MB, free: 13.9 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006545/0.02276, allocations: 0.835 MB / 280.1 MB, free: 12.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=68): time 1.513e-06/0.02276, allocations: 0 / 280.1 MB, free: 12.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=68): time 0.001885/0.02464, allocations: 1.843 MB / 281.9 MB, free: 10.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002101/0.02485, allocations: 0.5242 MB / 282.5 MB, free: 10.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.02509, allocations: 346.5 kB / 282.8 MB, free: 9.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/0.02514, allocations: 57.69 kB / 282.9 MB, free: 9.918 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.02526, allocations: 245.5 kB / 283.1 MB, free: 9.676 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.02539, allocations: 190.5 kB / 283.3 MB, free: 9.488 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.02559, allocations: 202.5 kB / 283.5 MB, free: 9.285 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.02569, allocations: 374.6 kB / 283.9 MB, free: 8.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.02601, allocations: 467.8 kB / 284.3 MB, free: 8.387 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004833/0.02649, allocations: 0.8494 MB / 285.2 MB, free: 7.305 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009205/0.02741, allocations: 1.317 MB / 286.5 MB, free: 5.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.02742, allocations: 4 kB / 286.5 MB, free: 5.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001053/0.02847, allocations: 1.29 MB / 287.8 MB, free: 4.277 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000147/0.02862, allocations: 350.7 kB / 288.1 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006631/0.02928, allocations: 0.535 MB / 288.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001519/0.02943, allocations: 59.64 kB / 288.7 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.02977, allocations: 155.9 kB / 288.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002695/0.03004, allocations: 0.5655 MB / 289.4 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.03031, allocations: 107.6 kB / 289.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-05/0.03037, allocations: 44 kB / 289.6 MB, free: 2.309 MB / 282.7 MB Warning: Assuming fixed start value for the following 18 variables: 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 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 P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 101 ($PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,$whenCondition3,$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.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition2,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,T1.firingCon,T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.disPlaceOut[1],P1.delayPassedIn.vec[1],T1.activation.arcWeightIntOut[1],T1.fire_,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireIn[1],$PRE.P1.fireIn[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],$whenCondition1,P1.reStart,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].disTransition,P1.inTransition[1].tint,P1.inTransition[1].maxTokensint,P1.inTransition[1].disPlace) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004755/0.03085, allocations: 0.6295 MB / 290.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.03099, allocations: 99.92 kB / 290.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.03201, allocations: 1.148 MB / 291.4 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.03202, allocations: 7.938 kB / 291.5 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.03202, allocations: 0 / 291.5 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.03202, allocations: 3.984 kB / 291.5 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.03363, allocations: 1.683 MB / 293.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0008518/0.03449, allocations: 1.063 MB / 294.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.525e-05/0.03458, allocations: 35.97 kB / 294.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.992e-05/0.03467, allocations: 43.61 kB / 294.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.893e-05/0.03473, allocations: 39.91 kB / 294.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002451/0.03497, allocations: 0.5489 MB / 294.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.03498, allocations: 4 kB / 294.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.03705, allocations: 2.283 MB / 297.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.03709, allocations: 43.59 kB / 297.2 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.03721, allocations: 72.05 kB / 297.3 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.03743, allocations: 51.95 kB / 297.3 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.03754, allocations: 55.88 kB / 297.4 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.607e-05/0.0376, allocations: 43.95 kB / 297.4 MB, free: 9.844 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.177e-05/0.0377, allocations: 100.6 kB / 297.5 MB, free: 9.742 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0377, allocations: 0 / 297.5 MB, free: 9.742 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006441/0.03834, allocations: 307.5 kB / 297.8 MB, free: 9.441 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (P1.t_) * Number of discrete variables: 54 (P1.disMarksInOut,$whenCondition2,$whenCondition1,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,P1.fireIn[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.disTAin[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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.anytrue,P1.emptying.numtrue,$whenCondition3,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue) * Number of discrete states: 50 (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,$whenCondition3,P1.fireIn[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,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],$whenCondition1,P1.enableIn.TEin[1],P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002549/0.04089, allocations: 3.043 MB / 300.9 MB, free: 6.227 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.007553/0.04844, allocations: 1.972 MB / 302.8 MB, free: 3.988 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.04845, allocations: 4 kB / 302.8 MB, free: 3.984 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008325/0.04928, allocations: 1.292 MB / 304.1 MB, free: 2.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.04961, allocations: 104.5 kB / 304.2 MB, free: 2.414 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.05965, allocations: 4.291 MB / 308.5 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006118/0.06577, allocations: 154.7 kB / 308.7 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001607/0.06593, allocations: 80.16 kB / 308.7 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008138/0.06674, allocations: 411.2 kB / 309.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.06674, allocations: 0 / 309.2 MB, free: 13.06 MB / 314.7 MB Notification: FMU-only work: backend 0.001967, simCode 0.001976, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1191/0.1858, allocations: 19.18 MB / 328.3 MB, free: 9.898 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.573/2.759, allocations: 15.41 kB / 328.3 MB, free: 9.883 MB / 330.7 MB " [Timeout remaining time 657] (rm -f PNlib_PNlib.Examples.ConTest.TCtoPC.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.TCtoPC.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.TCtoPC.pipe >> ../files/PNlib_PNlib.Examples.ConTest.TCtoPC.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.ConTest.TCtoPC_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_ConTest_TCtoPC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_ConTest_TCtoPC.fmu) > PNlib_PNlib.Examples.ConTest.TCtoPC.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.TCtoPC_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.ConTest.TCtoPC_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.TCtoPC_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.TCtoPC_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPC_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.ConTest.TCtoPC_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_ConTest_TCtoPC_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_ConTest_TCtoPC_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.ConTest.TCtoPC_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.TCtoPC_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.ConTest.TCtoPC_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.TCtoPC_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.TCtoPC_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPC_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.ConTest.TCtoPC_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_ConTest_TCtoPC_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_ConTest_TCtoPC_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.ConTest.TCtoPC_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.TCtoPC_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy_res.csv --output-variables P1.t T1.fire T1.instantaneousSpeed T1.maximumSpeed --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../PNlib_PNlib_Examples_ConTest_TCtoPC.fmu) > PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.fire,T1.instantaneousSpeed,T1.maximumSpeed,time Variables in the result: filterSimulationResults("PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.ConTest.TCtoPC_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.ConTest.TCtoPC_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPC.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPC_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.ConTest.TCtoPC.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy.diff.ref.mat: "" (rm -f PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy-fmi3-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.004 ../PNlib_PNlib_Examples_ConTest_TCtoPC_fmpy-fmi3-cs-cvode.fmu) > PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.instantaneousSpeed in file PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.instantaneousSpeed from file PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.maximumSpeed in file PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.maximumSpeed from file PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:P1.t,T1.fire,T1.instantaneousSpeed,T1.maximumSpeed,time Variables in the result:time,P1.t_ filterSimulationResults("PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy-fmi3-cs-cvode.diff.mat", vars={"T1.maximumSpeed", "T1.instantaneousSpeed", "T1.fire", "P1.t"}, removeDescription=false) [Timeout 660] "Error: Could not read variable T1.maximumSpeed in file PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPC.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPC_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"T1.maximumSpeed", "T1.instantaneousSpeed", "T1.fire", "P1.t"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 5.524100129492581]