Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test1a.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.Test1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test1a") translateModel(ConPNlib.Examples.Test1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test1a") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01575/0.01575, allocations: 1.406 MB / 16.66 MB, free: 4.695 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.602e-05/1.628e-05, allocations: 0 / 23.71 MB, free: 3.504 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008042/0.0008386, allocations: 357.3 kB / 24.06 MB, free: 3.184 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1a): time 0.0007031/0.001553, allocations: 441.1 kB / 24.49 MB, free: 2.754 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0009156/0.002482, allocations: 0.8927 MB / 25.38 MB, free: 1.75 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.002573, allocations: 0 / 25.38 MB, free: 1.75 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.002702, allocations: 19.81 kB / 25.4 MB, free: 1.73 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0004917/0.003205, allocations: 151 kB / 25.55 MB, free: 1.586 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 2.898e-05/0.003247, allocations: 4 kB / 25.55 MB, free: 1.582 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 8.752e-05/0.003344, allocations: 63.77 kB / 25.61 MB, free: 1.52 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.0034, allocations: 4.766 kB / 25.62 MB, free: 1.512 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 3.719e-05/0.003448, allocations: 21.11 kB / 25.64 MB, free: 1.492 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 5.049e-05/0.003508, allocations: 31.78 kB / 25.67 MB, free: 1.461 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.003527, allocations: 0 / 25.67 MB, free: 1.461 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 7.008e-05/0.003604, allocations: 19.98 kB / 25.69 MB, free: 1.441 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.003632, allocations: 4.562 kB / 25.69 MB, free: 1.438 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.003671, allocations: 44.53 kB / 25.74 MB, free: 1.391 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.003783, allocations: 39.83 kB / 25.77 MB, free: 1.352 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.003795, allocations: 0 / 25.77 MB, free: 1.352 MB / 13.93 MB Notification: Performance of FrontEnd: time 7.22e-07/0.003803, allocations: 0 / 25.77 MB, free: 1.352 MB / 13.93 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.003813, allocations: 0 / 25.77 MB, free: 1.352 MB / 13.93 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003589/0.004178, allocations: 346.4 kB / 26.11 MB, free: 0.9648 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.004224, allocations: 12.3 kB / 26.13 MB, free: 0.9531 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.004263, allocations: 4.938 kB / 26.13 MB, free: 0.9492 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.004386, allocations: 181.1 kB / 26.31 MB, free: 0.7344 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.004415, allocations: 6.125 kB / 26.31 MB, free: 0.7305 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.004441, allocations: 6.344 kB / 26.32 MB, free: 0.7266 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.004606, allocations: 81.67 kB / 26.4 MB, free: 0.6289 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.004625, allocations: 4.125 kB / 26.4 MB, free: 0.625 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.004644, allocations: 3.938 kB / 26.41 MB, free: 0.6211 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-06/0.004655, allocations: 0 / 26.41 MB, free: 0.6211 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.004767, allocations: 31.97 kB / 26.44 MB, free: 0.5898 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.005232, allocations: 0.5776 MB / 27.02 MB, free: 4.59 MB / 18.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.005414, allocations: 79.72 kB / 27.09 MB, free: 4.484 MB / 18.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.458e-05/0.005499, allocations: 34.62 kB / 27.13 MB, free: 4.441 MB / 18.6 MB Notification: Performance of preOpt evalFunc (simulation): time 8.482e-05/0.005594, allocations: 81.11 kB / 27.21 MB, free: 4.344 MB / 18.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.005636, allocations: 30.56 kB / 27.24 MB, free: 4.305 MB / 18.6 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.005646, allocations: 0 / 27.24 MB, free: 4.305 MB / 18.6 MB Notification: Performance of matching and sorting (n=4): time 0.000378/0.006031, allocations: 93.64 kB / 27.33 MB, free: 4.207 MB / 18.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.055e-05/0.006133, allocations: 132.5 kB / 27.46 MB, free: 4.047 MB / 18.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.006264, allocations: 118 kB / 27.57 MB, free: 3.918 MB / 18.6 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.006288, allocations: 25.7 kB / 27.6 MB, free: 3.887 MB / 18.6 MB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/0.006356, allocations: 92.05 kB / 27.69 MB, free: 3.793 MB / 18.6 MB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.006383, allocations: 7.844 kB / 27.69 MB, free: 3.785 MB / 18.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.006395, allocations: 0 / 27.69 MB, free: 3.785 MB / 18.6 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.006533, allocations: 327 kB / 28.01 MB, free: 3.457 MB / 18.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-05/0.006616, allocations: 15.98 kB / 28.03 MB, free: 3.441 MB / 18.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.117e-05/0.006716, allocations: 48.28 kB / 28.08 MB, free: 3.379 MB / 18.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.006868, allocations: 59.39 kB / 28.13 MB, free: 3.309 MB / 18.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.006883, allocations: 3.938 kB / 28.14 MB, free: 3.305 MB / 18.6 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002369/0.00713, allocations: 100 kB / 28.24 MB, free: 3.203 MB / 18.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.00716, allocations: 8.094 kB / 28.24 MB, free: 3.195 MB / 18.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.007175, allocations: 4 kB / 28.25 MB, free: 3.191 MB / 18.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.007194, allocations: 0 / 28.25 MB, free: 3.191 MB / 18.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.088e-05/0.007291, allocations: 15.98 kB / 28.26 MB, free: 3.176 MB / 18.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.007312, allocations: 5.328 kB / 28.27 MB, free: 3.172 MB / 18.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.506e-05/0.007395, allocations: 8 kB / 28.28 MB, free: 3.164 MB / 18.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.007419, allocations: 4.375 kB / 28.28 MB, free: 3.16 MB / 18.6 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (P1.feeding,P1.emptying) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 9.252e-05/0.00752, allocations: 118.6 kB / 28.4 MB, free: 3.035 MB / 18.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.894e-05/0.007631, allocations: 11.91 kB / 28.41 MB, free: 3.023 MB / 18.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.862e-05/0.007707, allocations: 11.89 kB / 28.42 MB, free: 3.004 MB / 18.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.007722, allocations: 7.875 kB / 28.43 MB, free: 2.996 MB / 18.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.007732, allocations: 0 / 28.43 MB, free: 2.996 MB / 18.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.007745, allocations: 4 kB / 28.43 MB, free: 2.992 MB / 18.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004628/0.008215, allocations: 169.6 kB / 28.6 MB, free: 2.777 MB / 18.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.008229, allocations: 0 / 28.6 MB, free: 2.777 MB / 18.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.204e-05/0.008299, allocations: 15.98 kB / 28.61 MB, free: 2.762 MB / 18.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.008312, allocations: 0 / 28.61 MB, free: 2.762 MB / 18.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.008328, allocations: 0 / 28.61 MB, free: 2.762 MB / 18.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.008343, allocations: 8 kB / 28.62 MB, free: 2.754 MB / 18.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.008352, allocations: 0 / 28.62 MB, free: 2.754 MB / 18.6 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.008722, allocations: 341.9 kB / 28.95 MB, free: 2.402 MB / 18.6 MB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.008785, allocations: 77.11 kB / 29.03 MB, free: 2.309 MB / 18.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.008815, allocations: 4 kB / 29.03 MB, free: 2.305 MB / 18.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.009042, allocations: 7.984 kB / 29.04 MB, free: 2.297 MB / 18.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.009085, allocations: 4.094 kB / 29.05 MB, free: 2.293 MB / 18.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.009104, allocations: 7.938 kB / 29.05 MB, free: 2.285 MB / 18.6 MB Notification: Performance of sorting global known variables: time 6.771e-05/0.009178, allocations: 87.27 kB / 29.14 MB, free: 2.199 MB / 18.6 MB Notification: Performance of sort global known variables: time 2.01e-07/0.009187, allocations: 0 / 29.14 MB, free: 2.199 MB / 18.6 MB Notification: Performance of remove unused functions: time 0.0004872/0.009681, allocations: 16 kB / 29.15 MB, free: 2.184 MB / 18.6 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (P1.t_) * Number of discrete variables: 2 (P1.feeding,P1.emptying) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001605/0.009854, allocations: 115.9 kB / 29.27 MB, free: 2.062 MB / 18.6 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.01005, allocations: 43.92 kB / 29.31 MB, free: 2.02 MB / 18.6 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01007, allocations: 0 / 29.31 MB, free: 2.02 MB / 18.6 MB Notification: Performance of simCode: created simulation system equations: time 6.98e-05/0.01015, allocations: 20.23 kB / 29.33 MB, free: 2 MB / 18.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000637/0.0108, allocations: 25.53 kB / 29.36 MB, free: 1.977 MB / 18.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.01132, allocations: 181.1 kB / 29.53 MB, free: 1.77 MB / 18.6 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.01165, allocations: 0.6851 MB / 30.22 MB, free: 1.059 MB / 18.6 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.01178, allocations: 44.12 kB / 30.26 MB, free: 1.012 MB / 18.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/0.01184, allocations: 23.42 kB / 30.28 MB, free: 0.9883 MB / 18.6 MB Notification: Performance of SimCode: time 3.51e-07/0.01185, allocations: 0 / 30.28 MB, free: 0.9883 MB / 18.6 MB Notification: Performance of Templates: time 0.003687/0.01555, allocations: 0.7466 MB / 31.03 MB, free: 248 kB / 18.6 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test1a.makefile (rm -f ConPNlib_ConPNlib.Examples.Test1a.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test1a.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test1a.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test1a.sim & ./ConPNlib_ConPNlib.Examples.Test1a -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test1a.pipe 2>&1)