Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test6.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ConPNlib master/package.mo) Running command: translateModel(ConPNlib.Examples.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test6") translateModel(ConPNlib.Examples.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test6") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.008675/0.008675, allocations: 1.402 MB / 16.66 MB, free: 4.758 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.57e-05/1.578e-05, allocations: 0 / 23.7 MB, free: 3.625 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000673/0.0007093, allocations: 365.1 kB / 24.06 MB, free: 3.301 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test6): time 0.00129/0.002012, allocations: 0.9475 MB / 25.01 MB, free: 2.355 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.00347, allocations: 1.304 MB / 26.31 MB, free: 0.9023 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.003673, allocations: 7.938 kB / 26.32 MB, free: 0.8945 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.003912, allocations: 63.58 kB / 26.38 MB, free: 0.832 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.000781/0.004707, allocations: 232.5 kB / 26.61 MB, free: 0.6055 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.004835, allocations: 34.03 kB / 26.64 MB, free: 0.5742 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0003729/0.005223, allocations: 327 kB / 26.96 MB, free: 260 kB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.005489, allocations: 156.3 kB / 27.11 MB, free: 100 kB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.005661, allocations: 123.2 kB / 27.23 MB, free: 4.621 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.005882, allocations: 135.1 kB / 27.37 MB, free: 4.488 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.005942, allocations: 12 kB / 27.38 MB, free: 4.477 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00043/0.006383, allocations: 203.6 kB / 27.58 MB, free: 4.277 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.006526, allocations: 76.47 kB / 27.65 MB, free: 4.203 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.006737, allocations: 160.7 kB / 27.81 MB, free: 4.039 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0008517/0.007601, allocations: 0.4946 MB / 28.3 MB, free: 3.543 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.00762, allocations: 0 / 28.3 MB, free: 3.543 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.242e-06/0.007634, allocations: 4 kB / 28.31 MB, free: 3.539 MB / 18.57 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.007648, allocations: 0 / 28.31 MB, free: 3.539 MB / 18.57 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0009253/0.008582, allocations: 0.6059 MB / 28.91 MB, free: 2.875 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.008638, allocations: 8.312 kB / 28.92 MB, free: 2.867 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.008772, allocations: 44.47 kB / 28.97 MB, free: 2.824 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.009276, allocations: 303.6 kB / 29.26 MB, free: 2.488 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-05/0.00935, allocations: 41.36 kB / 29.3 MB, free: 2.449 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.754e-05/0.009459, allocations: 40.38 kB / 29.34 MB, free: 2.41 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.01095, allocations: 0.6447 MB / 29.99 MB, free: 1.746 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.01098, allocations: 192 / 29.99 MB, free: 1.746 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.51e-05/0.01106, allocations: 19.94 kB / 30.01 MB, free: 1.727 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/0.01118, allocations: 40.97 kB / 30.05 MB, free: 1.688 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.01239, allocations: 455.7 kB / 30.49 MB, free: 1.242 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/0.02345, allocations: 1.506 MB / 32 MB, free: 5.203 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007595/0.02424, allocations: 355.5 kB / 32.34 MB, free: 5.086 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003965/0.02466, allocations: 181.1 kB / 32.52 MB, free: 5.078 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004677/0.02514, allocations: 0.5949 MB / 33.12 MB, free: 4.422 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.02519, allocations: 38.86 kB / 33.15 MB, free: 4.383 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 3.347e-06/0.0252, allocations: 0 / 33.15 MB, free: 4.383 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.001348/0.02656, allocations: 0.5299 MB / 33.68 MB, free: 4.32 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.02663, allocations: 143.9 kB / 33.82 MB, free: 4.164 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.02685, allocations: 221.3 kB / 34.04 MB, free: 4.051 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.0269, allocations: 39.11 kB / 34.08 MB, free: 4.02 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.02701, allocations: 215.3 kB / 34.29 MB, free: 3.879 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 6.565e-05/0.02709, allocations: 76.39 kB / 34.36 MB, free: 3.836 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.02714, allocations: 8.406 kB / 34.37 MB, free: 3.836 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.566e-05/0.02721, allocations: 331.2 kB / 34.69 MB, free: 3.523 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.02761, allocations: 158.8 kB / 34.85 MB, free: 3.52 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004565/0.02809, allocations: 243.4 kB / 35.09 MB, free: 3.43 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007569/0.02886, allocations: 420.5 kB / 35.5 MB, free: 3.289 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.02888, allocations: 0 / 35.5 MB, free: 3.289 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001111/0.03, allocations: 0.5259 MB / 36.02 MB, free: 3.082 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.147e-05/0.03007, allocations: 45.41 kB / 36.07 MB, free: 3.039 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.03009, allocations: 7.891 kB / 36.08 MB, free: 3.035 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.03012, allocations: 4 kB / 36.08 MB, free: 3.031 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.03039, allocations: 50.75 kB / 36.13 MB, free: 2.996 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.03042, allocations: 8.25 kB / 36.14 MB, free: 2.988 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.03068, allocations: 51.77 kB / 36.19 MB, free: 2.945 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-05/0.03075, allocations: 19.44 kB / 36.21 MB, free: 2.93 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.outTransition[1].arcType,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.arcType[1],T1.activation.emptied[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 2 * Algorithm blocks: 1 * 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.0003195/0.03108, allocations: 253.9 kB / 36.46 MB, free: 2.711 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.362e-05/0.03117, allocations: 23.66 kB / 36.48 MB, free: 2.688 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.03229, allocations: 475 kB / 36.94 MB, free: 2.332 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-05/0.03234, allocations: 8.844 kB / 36.95 MB, free: 2.324 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.03236, allocations: 0 / 36.95 MB, free: 2.324 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.03237, allocations: 4 kB / 36.95 MB, free: 2.32 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.03395, allocations: 0.9127 MB / 37.87 MB, free: 1.488 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.03397, allocations: 4 kB / 37.87 MB, free: 1.484 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.03421, allocations: 39.72 kB / 37.91 MB, free: 1.449 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.03424, allocations: 0.7031 kB / 37.91 MB, free: 1.449 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.03428, allocations: 12 kB / 37.92 MB, free: 1.438 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.03429, allocations: 0 / 37.92 MB, free: 1.438 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.03431, allocations: 6.844 kB / 37.93 MB, free: 1.434 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.03567, allocations: 0.7134 MB / 38.64 MB, free: 0.7031 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.03574, allocations: 100.8 kB / 38.74 MB, free: 0.5859 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/0.03581, allocations: 15.98 kB / 38.76 MB, free: 0.5703 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.03607, allocations: 27.98 kB / 38.78 MB, free: 0.543 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.03625, allocations: 56 kB / 38.84 MB, free: 500 kB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/0.0363, allocations: 18.09 kB / 38.86 MB, free: 484 kB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001275/0.03644, allocations: 137.6 kB / 38.99 MB, free: 348 kB / 18.57 MB Notification: Performance of sort global known variables: time 3.11e-07/0.03646, allocations: 0 / 38.99 MB, free: 348 kB / 18.57 MB Notification: Performance of remove unused functions: time 0.0007016/0.03717, allocations: 159.3 kB / 39.15 MB, free: 196 kB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P1.fireOut[1],P2.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 2 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0003562/0.03754, allocations: 179.3 kB / 39.32 MB, free: 24 kB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.01142/0.04897, allocations: 493.7 kB / 39.8 MB, free: 5.02 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.04902, allocations: 0 / 39.8 MB, free: 5.02 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0005267/0.04956, allocations: 261.9 kB / 40.06 MB, free: 4.957 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005729/0.05015, allocations: 35.2 kB / 40.09 MB, free: 4.953 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.05199, allocations: 0.9147 MB / 41.01 MB, free: 4.535 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.05236, allocations: 0.8526 MB / 41.86 MB, free: 3.84 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0003617/0.05273, allocations: 114.2 kB / 41.97 MB, free: 3.836 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.05288, allocations: 44.3 kB / 42.02 MB, free: 3.828 MB / 18.57 MB Notification: Performance of SimCode: time 6.71e-07/0.05289, allocations: 0 / 42.02 MB, free: 3.828 MB / 18.57 MB Notification: Performance of Templates: time 0.01116/0.06406, allocations: 4.049 MB / 46.07 MB, free: 448 kB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test6.makefile (rm -f ConPNlib_ConPNlib.Examples.Test6.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test6.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test6.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test6.sim & ./ConPNlib_ConPNlib.Examples.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test6.pipe 2>&1)