Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test9.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.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test9") translateModel(ConPNlib.Examples.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test9") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005477/0.005477, allocations: 1.402 MB / 16.66 MB, free: 4.695 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.631e-05/1.643e-05, allocations: 0 / 23.71 MB, free: 3.504 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007922/0.0008326, allocations: 353.7 kB / 24.05 MB, free: 3.188 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test9): time 0.002091/0.002949, allocations: 1.432 MB / 25.49 MB, free: 1.758 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.002654/0.00564, allocations: 1.576 MB / 27.06 MB, free: 16 kB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005946/0.006268, allocations: 11.28 kB / 27.07 MB, free: 8 kB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.000504/0.006798, allocations: 111.2 kB / 27.18 MB, free: 4.543 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.008411, allocations: 310.9 kB / 27.48 MB, free: 4.238 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.008694, allocations: 59.94 kB / 27.54 MB, free: 4.18 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.009759, allocations: 0.5803 MB / 28.12 MB, free: 3.598 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005799/0.01036, allocations: 293.2 kB / 28.41 MB, free: 3.297 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003888/0.01077, allocations: 226.6 kB / 28.63 MB, free: 3.074 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.01123, allocations: 254.2 kB / 28.88 MB, free: 2.824 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.01136, allocations: 24 kB / 28.9 MB, free: 2.801 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005689/0.01194, allocations: 215.6 kB / 29.11 MB, free: 2.59 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0002308/0.01219, allocations: 144.1 kB / 29.25 MB, free: 2.449 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0003927/0.0126, allocations: 291.7 kB / 29.54 MB, free: 2.156 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.01383, allocations: 0.7788 MB / 30.32 MB, free: 1.375 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.01386, allocations: 4 kB / 30.32 MB, free: 1.371 MB / 18.57 MB Notification: Performance of FrontEnd: time 3.967e-06/0.01387, allocations: 0 / 30.32 MB, free: 1.371 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.0139, allocations: 3.938 kB / 30.33 MB, free: 1.367 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001504/0.01542, allocations: 0.8419 MB / 31.17 MB, free: 476 kB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.01548, allocations: 16.31 kB / 31.18 MB, free: 460 kB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/0.01571, allocations: 76.09 kB / 31.26 MB, free: 384 kB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009581/0.02531, allocations: 432.2 kB / 31.68 MB, free: 7.469 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.02548, allocations: 68.33 kB / 31.75 MB, free: 7.465 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002556/0.02575, allocations: 85.22 kB / 31.83 MB, free: 7.465 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00288/0.02865, allocations: 1.214 MB / 33.04 MB, free: 7.059 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.0287, allocations: 5.75 kB / 33.05 MB, free: 7.059 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.02882, allocations: 42.2 kB / 33.09 MB, free: 7.035 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001819/0.02901, allocations: 79.03 kB / 33.17 MB, free: 7.008 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.031, allocations: 0.8694 MB / 34.04 MB, free: 6.273 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004385/0.0354, allocations: 2.423 MB / 36.46 MB, free: 3.777 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.03665, allocations: 0.6466 MB / 37.11 MB, free: 3.082 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007001/0.03737, allocations: 381.3 kB / 37.48 MB, free: 2.711 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004285/0.03782, allocations: 0.5944 MB / 38.07 MB, free: 1.988 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.03785, allocations: 42.86 kB / 38.12 MB, free: 1.938 MB / 18.57 MB Notification: Performance of pre-optimization done (n=42): time 3.908e-06/0.03787, allocations: 0 / 38.12 MB, free: 1.938 MB / 18.57 MB Notification: Performance of matching and sorting (n=42): time 0.004091/0.04197, allocations: 1.4 MB / 39.52 MB, free: 0.5078 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.533e-05/0.04207, allocations: 212.2 kB / 39.72 MB, free: 260 kB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009435/0.05152, allocations: 306.5 kB / 40.02 MB, free: 6.699 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.05169, allocations: 38.8 kB / 40.06 MB, free: 6.668 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/0.05208, allocations: 341.6 kB / 40.39 MB, free: 6.5 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/0.05236, allocations: 139.6 kB / 40.53 MB, free: 6.422 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.818e-05/0.05246, allocations: 9.594 kB / 40.54 MB, free: 6.422 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.05258, allocations: 347 kB / 40.88 MB, free: 6.109 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009128/0.05351, allocations: 314.2 kB / 41.19 MB, free: 6.109 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009595/0.05449, allocations: 457.8 kB / 41.63 MB, free: 5.914 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.05592, allocations: 0.7739 MB / 42.41 MB, free: 5.473 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.05594, allocations: 3.938 kB / 42.41 MB, free: 5.469 MB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002347/0.0583, allocations: 1.069 MB / 43.48 MB, free: 4.945 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 7.496e-05/0.05839, allocations: 87.38 kB / 43.56 MB, free: 4.848 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.05842, allocations: 5.094 kB / 43.57 MB, free: 4.844 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002338/0.06076, allocations: 428.5 kB / 43.99 MB, free: 4.422 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.06106, allocations: 79.58 kB / 44.07 MB, free: 4.348 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007321/0.0618, allocations: 0.7729 MB / 44.84 MB, free: 3.555 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.06221, allocations: 91.39 kB / 44.93 MB, free: 3.465 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/0.06229, allocations: 35.98 kB / 44.96 MB, free: 3.43 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P3.fireIn[1],P3.feeding,P2.outTransition[1].arcType,P1.outTransition[1].arcType,P1.fireOut[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],$PRE.P2.fireIn[1],P2.fireIn[1],$PRE.P2.fireOut[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],T1.activation.arcType[1],T2.activation.arcType[1],T2.activation.emptied[1],T1.activation.fed[1],T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004511/0.06274, allocations: 396.7 kB / 45.35 MB, free: 3.023 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.573e-05/0.06283, allocations: 35.62 kB / 45.38 MB, free: 2.988 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.06415, allocations: 0.9762 MB / 46.36 MB, free: 1.988 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/0.06419, allocations: 12.69 kB / 46.37 MB, free: 1.977 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.0642, allocations: 7.938 kB / 46.38 MB, free: 1.969 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.06421, allocations: 4 kB / 46.39 MB, free: 1.965 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008843/0.07306, allocations: 1.653 MB / 48.04 MB, free: 5.656 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.07309, allocations: 0 / 48.04 MB, free: 5.656 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.07326, allocations: 47.53 kB / 48.08 MB, free: 5.656 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009121/0.07418, allocations: 332.3 kB / 48.41 MB, free: 5.648 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.565e-05/0.07426, allocations: 24.11 kB / 48.43 MB, free: 5.648 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005717/0.07484, allocations: 0.7982 MB / 49.23 MB, free: 5.133 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.07485, allocations: 0 / 49.23 MB, free: 5.133 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.07654, allocations: 1.404 MB / 50.63 MB, free: 4.742 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.07662, allocations: 122.9 kB / 50.75 MB, free: 4.645 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.07669, allocations: 19.41 kB / 50.77 MB, free: 4.637 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.0769, allocations: 52.84 kB / 50.82 MB, free: 4.633 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.07712, allocations: 112.1 kB / 50.93 MB, free: 4.605 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/0.07718, allocations: 26.55 kB / 50.96 MB, free: 4.602 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001572/0.07734, allocations: 192.3 kB / 51.15 MB, free: 4.492 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.31e-07/0.07735, allocations: 0 / 51.15 MB, free: 4.492 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005276/0.07788, allocations: 239 kB / 51.38 MB, free: 4.441 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (P1.t_,P2.t_,P3.t_) * Number of discrete variables: 14 (P1.fireOut[1],P1.emptying,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],P2.fireIn[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding) * Number of discrete states: 10 (P1.fireOut[1],P2.fireIn[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P2.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002714/0.07816, allocations: 208.5 kB / 51.58 MB, free: 4.254 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.07933, allocations: 0.9561 MB / 52.54 MB, free: 3.328 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.07935, allocations: 0 / 52.54 MB, free: 3.328 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0005963/0.07995, allocations: 0.5577 MB / 53.1 MB, free: 2.758 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.08034, allocations: 61.91 kB / 53.16 MB, free: 2.699 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.08236, allocations: 1.697 MB / 54.86 MB, free: 0.9883 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007435/0.08981, allocations: 1.017 MB / 55.87 MB, free: 11.02 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0002487/0.09008, allocations: 127.1 kB / 56 MB, free: 11.02 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.32e-05/0.09016, allocations: 37.7 kB / 56.03 MB, free: 11.01 MB / 24.96 MB Notification: Performance of SimCode: time 6.61e-07/0.09017, allocations: 6 kB / 56.04 MB, free: 11.01 MB / 24.96 MB Notification: Performance of Templates: time 0.01107/0.1012, allocations: 8.026 MB / 64.06 MB, free: 4.922 MB / 24.96 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test9.makefile (rm -f ConPNlib_ConPNlib.Examples.Test9.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test9.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test9.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test9.sim & ./ConPNlib_ConPNlib.Examples.Test9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test9.pipe 2>&1)