Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.TCtoPCfunction.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.001051/0.001051, allocations: 72.27 kB / 9.851 MB, free: 0.8438 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001413/0.002464, allocations: 447.7 kB / 10.29 MB, free: 416 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.001034/0.001034, allocations: 149.9 kB / 11.17 MB, free: 3.004 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001272/0.002306, allocations: 480.2 kB / 11.64 MB, free: 2.531 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 1.056/1.056, allocations: 177.2 MB / 189.5 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07617/1.132, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.09058/0.09058, allocations: 12.67 MB / 256.6 MB, free: 2.375 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005328/0.09591, allocations: 4.679 MB / 261.3 MB, free: 13.68 MB / 266.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.TCtoPCfunction,fileNamePrefix="PNlib_PNlib_Examples_ConTest_TCtoPCfunction",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.TCtoPCfunction,fileNamePrefix="PNlib_PNlib_Examples_ConTest_TCtoPCfunction",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 3.938 kB / 262.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.963e-06/8.376e-06, allocations: 2.312 kB / 262.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.TCtoPCfunction): time 0.001924/0.001932, allocations: 1.891 MB / 264.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.003781, allocations: 1.672 MB / 266 MB, free: 8.879 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.003924, allocations: 11.88 kB / 266.1 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.004112, allocations: 139 kB / 266.2 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.004372, allocations: 154.9 kB / 266.3 MB, free: 8.578 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000883/0.005255, allocations: 0.6935 MB / 267 MB, free: 7.883 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009132/0.006168, allocations: 1.326 MB / 268.4 MB, free: 6.555 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.006296, allocations: 69.03 kB / 268.4 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008264/0.007122, allocations: 0.79 MB / 269.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.007457, allocations: 299 kB / 269.5 MB, free: 5.391 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.897e-05/0.007526, allocations: 76 kB / 269.6 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005853/0.008111, allocations: 0.6157 MB / 270.2 MB, free: 4.703 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.008224, allocations: 135.4 kB / 270.3 MB, free: 4.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.008403, allocations: 191.5 kB / 270.5 MB, free: 4.383 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006657/0.009069, allocations: 0.8569 MB / 271.4 MB, free: 3.523 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.009078, allocations: 0 / 271.4 MB, free: 3.523 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.009079, allocations: 4 kB / 271.4 MB, free: 3.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.009089, allocations: 0 / 271.4 MB, free: 3.52 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.0009729/0.01006, allocations: 1.176 MB / 272.6 MB, free: 2.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.01009, allocations: 11.98 kB / 272.6 MB, free: 2.238 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.429e-05/0.01017, allocations: 122.6 kB / 272.7 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004016/0.01058, allocations: 277.9 kB / 273 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.01084, allocations: 264.8 kB / 273.2 MB, free: 1.535 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.01095, allocations: 220.1 kB / 273.4 MB, free: 1.281 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-05/0.01101, allocations: 72.36 kB / 273.5 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1007/0.1117, allocations: 1.21 MB / 274.7 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.1117, allocations: 0 / 274.7 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.518e-05/0.1118, allocations: 33.83 kB / 274.8 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.711e-05/0.1119, allocations: 52.95 kB / 274.8 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006291/0.1125, allocations: 0.6947 MB / 275.5 MB, free: 6.992 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.1143, allocations: 2.136 MB / 277.6 MB, free: 5.723 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005191/0.1148, allocations: 0.7183 MB / 278.4 MB, free: 5.297 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.1152, allocations: 0.5735 MB / 278.9 MB, free: 4.996 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005803/0.1158, allocations: 358.6 kB / 279.3 MB, free: 4.992 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005666/0.1163, allocations: 0.8636 MB / 280.1 MB, free: 4.539 MB / 266.7 MB Notification: Performance of pre-optimization done (n=68): time 2.134e-06/0.1164, allocations: 1.219 kB / 280.1 MB, free: 4.539 MB / 266.7 MB Notification: Performance of matching and sorting (n=68): time 0.00141/0.1178, allocations: 1.852 MB / 282 MB, free: 3.633 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.1179, allocations: 0.5307 MB / 282.5 MB, free: 3.102 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.1181, allocations: 337.9 kB / 282.9 MB, free: 2.973 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.1181, allocations: 62.05 kB / 282.9 MB, free: 2.941 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.116e-05/0.1182, allocations: 237.7 kB / 283.1 MB, free: 2.793 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.47e-05/0.1183, allocations: 187.2 kB / 283.3 MB, free: 2.711 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.1185, allocations: 203.2 kB / 283.5 MB, free: 2.691 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.793e-05/0.1185, allocations: 371.8 kB / 283.9 MB, free: 2.375 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.1187, allocations: 469 kB / 284.3 MB, free: 2.027 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.1191, allocations: 0.8412 MB / 285.2 MB, free: 1.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.1197, allocations: 1.295 MB / 286.5 MB, free: 244 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.1197, allocations: 4.281 kB / 286.5 MB, free: 244 kB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0009103/0.1206, allocations: 1.275 MB / 287.8 MB, free: 15.49 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001377/0.1208, allocations: 351.5 kB / 288.1 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004255/0.1212, allocations: 0.5343 MB / 288.6 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.1213, allocations: 55.28 kB / 288.7 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.1216, allocations: 154.1 kB / 288.8 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002638/0.1219, allocations: 0.5682 MB / 289.4 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.1221, allocations: 104 kB / 289.5 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.397e-05/0.1221, allocations: 45.84 kB / 289.6 MB, free: 14.24 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: 42 * 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 (105): * Single equations (assignments): 93 * 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.0004267/0.1226, allocations: 0.6343 MB / 290.2 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.1227, allocations: 102.8 kB / 290.3 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009158/0.1236, allocations: 1.153 MB / 291.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1236, allocations: 5 kB / 291.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1236, allocations: 2.156 kB / 291.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1236, allocations: 3.266 kB / 291.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.125, allocations: 1.715 MB / 293.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0006305/0.1256, allocations: 1.067 MB / 294.2 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-05/0.1257, allocations: 35.98 kB / 294.3 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.904e-05/0.1258, allocations: 43.28 kB / 294.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.885e-05/0.1259, allocations: 37.66 kB / 294.4 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002642/0.1261, allocations: 0.5512 MB / 294.9 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1261, allocations: 5.812 kB / 294.9 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.1276, allocations: 2.293 MB / 297.2 MB, free: 9.906 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.1276, allocations: 56.44 kB / 297.3 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.1277, allocations: 70.81 kB / 297.3 MB, free: 9.844 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.1279, allocations: 52.55 kB / 297.4 MB, free: 9.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.583e-05/0.128, allocations: 53.61 kB / 297.4 MB, free: 9.824 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.712e-05/0.128, allocations: 38.12 kB / 297.5 MB, free: 9.812 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.41e-05/0.1281, allocations: 105.8 kB / 297.6 MB, free: 9.742 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1281, allocations: 0 / 297.6 MB, free: 9.742 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005514/0.1287, allocations: 299.2 kB / 297.9 MB, free: 9.453 MB / 282.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.002193/0.1309, allocations: 3.082 MB / 300.9 MB, free: 6.539 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.1321, allocations: 1.971 MB / 302.9 MB, free: 4.375 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.1321, allocations: 4 kB / 302.9 MB, free: 4.371 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006818/0.1328, allocations: 1.292 MB / 304.2 MB, free: 2.918 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.133, allocations: 114.8 kB / 304.3 MB, free: 2.816 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/0.1366, allocations: 4.301 MB / 308.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.935e-05/0.1367, allocations: 163.8 kB / 308.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.1368, allocations: 76.28 kB / 308.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000497/0.1373, allocations: 420.7 kB / 309.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1373, allocations: 0 / 309.3 MB, free: 13.61 MB / 298.7 MB Notification: FMU-only work: backend 0.001658, simCode 0.001659, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1568/0.2941, allocations: 19.26 MB / 328.5 MB, free: 10.62 MB / 314.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.46/2.754, allocations: 14.25 kB / 328.6 MB, free: 10.61 MB / 314.7 MB " [Timeout remaining time 657] (rm -f PNlib_PNlib.Examples.ConTest.TCtoPCfunction.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.TCtoPCfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.TCtoPCfunction.pipe >> ../files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.ConTest.TCtoPCfunction_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_ConTest_TCtoPCfunction_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_ConTest_TCtoPCfunction.fmu) > PNlib_PNlib.Examples.ConTest.TCtoPCfunction.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.TCtoPCfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPCfunction.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.TCtoPCfunction_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_ConTest_TCtoPCfunction_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_ConTest_TCtoPCfunction_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPCfunction.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.TCtoPCfunction_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_ConTest_TCtoPCfunction_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_ConTest_TCtoPCfunction_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.TCtoPCfunction_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPCfunction.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.TCtoPCfunction_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy_res.csv --output-variables P1.t T1.fire T1.instantaneousSpeed T1.maximumSpeed --start-time 0 --stop-time 3 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ../PNlib_PNlib_Examples_ConTest_TCtoPCfunction.fmu) > PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPCfunction.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy_res.csv: Error: Error opening file: PNlib_PNlib.Examples.ConTest.TCtoPCfunction_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.TCtoPCfunction_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PNlib_PNlib.Examples.ConTest.TCtoPCfunction_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.TCtoPCfunction_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPCfunction.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction_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.TCtoPCfunction.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy.diff.ref.mat: "" (rm -f PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy-fmi3-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 3 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.0012 ../PNlib_PNlib_Examples_ConTest_TCtoPCfunction_fmpy-fmi3-cs-cvode.fmu) > PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPCfunction.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.TCtoPCfunction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.instantaneousSpeed in file PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.instantaneousSpeed from file PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable T1.maximumSpeed in file PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable T1.maximumSpeed from file PNlib_PNlib.Examples.ConTest.TCtoPCfunction_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.TCtoPCfunction_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction_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.TCtoPCfunction_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.TCtoPCfunction.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.TCtoPCfunction_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.486682306975126]