Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test7") translateModel(ConPNlib.Examples.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test7") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.007626/0.007632, allocations: 1.404 MB / 16.66 MB, free: 4.695 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.94e-05/1.964e-05, allocations: 0 / 23.71 MB, free: 3.504 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007132/0.0007511, allocations: 362.8 kB / 24.06 MB, free: 3.18 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test7): time 0.001169/0.00193, allocations: 0.9436 MB / 25 MB, free: 2.238 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.003277, allocations: 1.308 MB / 26.31 MB, free: 0.7812 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.003445, allocations: 7.938 kB / 26.32 MB, free: 0.7734 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.003659, allocations: 62.94 kB / 26.38 MB, free: 0.7148 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.000738/0.004407, allocations: 235.2 kB / 26.61 MB, free: 496 kB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.000109/0.00453, allocations: 27.92 kB / 26.64 MB, free: 468 kB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.004926, allocations: 335 kB / 26.97 MB, free: 132 kB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002844/0.005221, allocations: 150 kB / 27.11 MB, free: 4.621 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.005414, allocations: 127.2 kB / 27.24 MB, free: 4.496 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.005631, allocations: 135.1 kB / 27.37 MB, free: 4.363 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 5.047e-05/0.005691, allocations: 12 kB / 27.38 MB, free: 4.352 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003927/0.006092, allocations: 203.6 kB / 27.58 MB, free: 4.152 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.006242, allocations: 76.47 kB / 27.65 MB, free: 4.078 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.006419, allocations: 164.7 kB / 27.82 MB, free: 3.91 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0006729/0.007101, allocations: 0.4907 MB / 28.31 MB, free: 3.418 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.007116, allocations: 0 / 28.31 MB, free: 3.418 MB / 18.57 MB Notification: Performance of FrontEnd: time 8.32e-07/0.007126, allocations: 4 kB / 28.31 MB, free: 3.414 MB / 18.57 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.007139, allocations: 0 / 28.31 MB, free: 3.414 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.0008858/0.008031, allocations: 0.602 MB / 28.91 MB, free: 2.754 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.00809, allocations: 12.31 kB / 28.92 MB, free: 2.742 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.008218, allocations: 40.47 kB / 28.96 MB, free: 2.703 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.008677, allocations: 307.6 kB / 29.26 MB, free: 2.363 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.237e-05/0.00874, allocations: 34.55 kB / 29.3 MB, free: 2.332 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-05/0.008846, allocations: 52.36 kB / 29.35 MB, free: 2.281 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.01018, allocations: 0.6408 MB / 29.99 MB, free: 1.621 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.01021, allocations: 192 / 29.99 MB, free: 1.621 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.228e-05/0.01028, allocations: 23.92 kB / 30.01 MB, free: 1.598 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-05/0.01038, allocations: 40.97 kB / 30.05 MB, free: 1.559 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009853/0.01138, allocations: 455.7 kB / 30.5 MB, free: 1.113 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01152/0.02291, allocations: 1.498 MB / 32 MB, free: 5.148 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006827/0.02362, allocations: 358.7 kB / 32.35 MB, free: 5.031 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003803/0.02401, allocations: 178.2 kB / 32.52 MB, free: 5.023 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004262/0.02445, allocations: 0.5922 MB / 33.11 MB, free: 4.367 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.02449, allocations: 40.67 kB / 33.15 MB, free: 4.328 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 2.445e-06/0.0245, allocations: 0 / 33.15 MB, free: 4.328 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.001139/0.02564, allocations: 0.5262 MB / 33.68 MB, free: 4.266 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.02571, allocations: 145.9 kB / 33.82 MB, free: 4.109 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.02596, allocations: 225.6 kB / 34.04 MB, free: 3.996 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.026, allocations: 29.05 kB / 34.07 MB, free: 3.965 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.02612, allocations: 218.1 kB / 34.28 MB, free: 3.82 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 6.51e-05/0.0262, allocations: 74.14 kB / 34.35 MB, free: 3.777 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.02625, allocations: 11.42 kB / 34.37 MB, free: 3.777 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.388e-05/0.02632, allocations: 337.5 kB / 34.7 MB, free: 3.465 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.02665, allocations: 158 kB / 34.85 MB, free: 3.461 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/0.02703, allocations: 243.4 kB / 35.09 MB, free: 3.371 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006236/0.02767, allocations: 416.7 kB / 35.49 MB, free: 3.23 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.02768, allocations: 2.906 kB / 35.5 MB, free: 3.23 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009403/0.02863, allocations: 0.5322 MB / 36.03 MB, free: 3.012 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/0.02869, allocations: 44.17 kB / 36.07 MB, free: 2.973 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.0287, allocations: 4 kB / 36.08 MB, free: 2.969 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.02873, allocations: 4 kB / 36.08 MB, free: 2.965 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.02896, allocations: 46.28 kB / 36.13 MB, free: 2.93 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.02898, allocations: 8.656 kB / 36.13 MB, free: 2.922 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.02919, allocations: 56.89 kB / 36.19 MB, free: 2.879 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/0.02925, allocations: 20.12 kB / 36.21 MB, free: 2.859 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.0002663/0.02952, allocations: 254.4 kB / 36.46 MB, free: 2.641 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.455e-05/0.0296, allocations: 15.81 kB / 36.47 MB, free: 2.625 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008726/0.03048, allocations: 479.4 kB / 36.94 MB, free: 2.25 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/0.03052, allocations: 13.84 kB / 36.96 MB, free: 2.242 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.03053, allocations: 4 kB / 36.96 MB, free: 2.238 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.03054, allocations: 6.828 kB / 36.97 MB, free: 2.234 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.0318, allocations: 0.9097 MB / 37.88 MB, free: 1.273 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.03182, allocations: 4 kB / 37.88 MB, free: 1.27 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.032, allocations: 35.27 kB / 37.91 MB, free: 1.238 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.03201, allocations: 3.938 kB / 37.92 MB, free: 1.234 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.03205, allocations: 15.98 kB / 37.93 MB, free: 1.219 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.03206, allocations: 0 / 37.93 MB, free: 1.219 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.03207, allocations: 0 / 37.93 MB, free: 1.219 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.03317, allocations: 0.7152 MB / 38.65 MB, free: 500 kB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.03322, allocations: 96.94 kB / 38.74 MB, free: 384 kB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.03329, allocations: 12 kB / 38.75 MB, free: 372 kB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.0335, allocations: 27.98 kB / 38.78 MB, free: 344 kB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.03367, allocations: 59.98 kB / 38.84 MB, free: 284 kB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.03371, allocations: 12 kB / 38.85 MB, free: 272 kB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001135/0.03383, allocations: 141.6 kB / 38.99 MB, free: 132 kB / 18.57 MB Notification: Performance of sort global known variables: time 1.4e-07/0.03384, allocations: 0 / 38.99 MB, free: 132 kB / 18.57 MB Notification: Performance of remove unused functions: time 0.008664/0.04251, allocations: 153.3 kB / 39.14 MB, free: 6.637 MB / 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.0003795/0.04291, allocations: 182.1 kB / 39.32 MB, free: 6.547 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.000886/0.04381, allocations: 490.6 kB / 39.8 MB, free: 6.484 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.04382, allocations: 2.844 kB / 39.8 MB, free: 6.484 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0003999/0.04423, allocations: 268.5 kB / 40.06 MB, free: 6.422 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.04468, allocations: 31.89 kB / 40.09 MB, free: 6.418 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.04614, allocations: 0.921 MB / 41.01 MB, free: 5.984 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.04645, allocations: 0.8527 MB / 41.87 MB, free: 5.273 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0002882/0.04674, allocations: 114.8 kB / 41.98 MB, free: 5.273 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.04686, allocations: 40.36 kB / 42.02 MB, free: 5.262 MB / 18.57 MB Notification: Performance of SimCode: time 3.6e-07/0.04687, allocations: 0 / 42.02 MB, free: 5.262 MB / 18.57 MB Notification: Performance of Templates: time 0.008831/0.05571, allocations: 4.05 MB / 46.07 MB, free: 1.477 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test7.makefile (rm -f ConPNlib_ConPNlib.Examples.Test7.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test7.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test7.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test7.sim & ./ConPNlib_ConPNlib.Examples.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test7.pipe 2>&1)