Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test2") translateModel(ConPNlib.Examples.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.009387/0.009387, allocations: 1.402 MB / 16.66 MB, free: 4.695 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.812e-05/1.823e-05, allocations: 0 / 23.71 MB, free: 3.504 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007954/0.000841, allocations: 362.3 kB / 24.06 MB, free: 3.18 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test2): time 0.001236/0.002102, allocations: 0.6935 MB / 24.75 MB, free: 2.488 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.003695, allocations: 1.192 MB / 25.95 MB, free: 1.148 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.003893, allocations: 3.938 kB / 25.95 MB, free: 1.145 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.004114, allocations: 47.72 kB / 26 MB, free: 1.098 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0007947/0.004927, allocations: 190.8 kB / 26.18 MB, free: 0.9141 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.005054, allocations: 27.97 kB / 26.21 MB, free: 0.8867 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.005372, allocations: 211.4 kB / 26.42 MB, free: 0.6797 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.00564, allocations: 82.25 kB / 26.5 MB, free: 0.5938 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.005801, allocations: 91.44 kB / 26.59 MB, free: 0.5039 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.005971, allocations: 83.42 kB / 26.67 MB, free: 432 kB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.006024, allocations: 8 kB / 26.68 MB, free: 424 kB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003061/0.006342, allocations: 131.8 kB / 26.8 MB, free: 292 kB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 8.262e-05/0.006444, allocations: 48.62 kB / 26.85 MB, free: 244 kB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.006563, allocations: 105.1 kB / 26.95 MB, free: 132 kB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0005343/0.007114, allocations: 303.2 kB / 27.25 MB, free: 4.477 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.007139, allocations: 0 / 27.25 MB, free: 4.477 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.173e-06/0.007151, allocations: 3.938 kB / 27.25 MB, free: 4.473 MB / 18.57 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.007168, allocations: 0 / 27.25 MB, free: 4.473 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.000825/0.008005, allocations: 0.4888 MB / 27.74 MB, free: 3.93 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.008066, allocations: 12.31 kB / 27.76 MB, free: 3.918 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.055e-05/0.008169, allocations: 24.66 kB / 27.78 MB, free: 3.895 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.008559, allocations: 244 kB / 28.02 MB, free: 3.617 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.704e-05/0.008624, allocations: 28.86 kB / 28.05 MB, free: 3.59 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.545e-05/0.008703, allocations: 28.38 kB / 28.07 MB, free: 3.562 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009486/0.009665, allocations: 368.1 kB / 28.43 MB, free: 3.188 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.009697, allocations: 192 / 28.43 MB, free: 3.188 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/0.009747, allocations: 15.94 kB / 28.45 MB, free: 3.172 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.015e-05/0.009816, allocations: 16.55 kB / 28.46 MB, free: 3.156 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006905/0.01052, allocations: 246.1 kB / 28.71 MB, free: 2.918 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.01235, allocations: 0.8601 MB / 29.57 MB, free: 1.969 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005156/0.01289, allocations: 171.7 kB / 29.73 MB, free: 1.793 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.01315, allocations: 92.81 kB / 29.82 MB, free: 1.699 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004905/0.01366, allocations: 433.5 kB / 30.25 MB, free: 1.184 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.01371, allocations: 34.56 kB / 30.28 MB, free: 1.141 MB / 18.57 MB Notification: Performance of pre-optimization done (n=14): time 2.064e-06/0.01373, allocations: 4 kB / 30.28 MB, free: 1.137 MB / 18.57 MB Notification: Performance of matching and sorting (n=14): time 0.001032/0.01477, allocations: 331.1 kB / 30.61 MB, free: 0.8008 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/0.01487, allocations: 114.8 kB / 30.72 MB, free: 0.6641 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.01511, allocations: 174.1 kB / 30.89 MB, free: 492 kB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.01516, allocations: 25.7 kB / 30.92 MB, free: 460 kB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.01531, allocations: 152 kB / 31.06 MB, free: 300 kB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 7.159e-05/0.0154, allocations: 47.34 kB / 31.11 MB, free: 252 kB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.01544, allocations: 8 kB / 31.12 MB, free: 244 kB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.009047/0.0245, allocations: 326.2 kB / 31.44 MB, free: 7.457 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.02486, allocations: 86.38 kB / 31.52 MB, free: 7.457 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.02521, allocations: 141 kB / 31.66 MB, free: 7.406 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005724/0.0258, allocations: 260.3 kB / 31.91 MB, free: 7.305 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.02582, allocations: 1.172 kB / 31.91 MB, free: 7.305 MB / 18.57 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007895/0.02663, allocations: 344.3 kB / 32.25 MB, free: 7.242 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 4.763e-05/0.02669, allocations: 37.08 kB / 32.29 MB, free: 7.211 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.02671, allocations: 0 / 32.29 MB, free: 7.211 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.02674, allocations: 11.42 kB / 32.3 MB, free: 7.211 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.02696, allocations: 26.53 kB / 32.32 MB, free: 7.211 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.02698, allocations: 1.938 kB / 32.33 MB, free: 7.211 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.02717, allocations: 35.83 kB / 32.36 MB, free: 7.211 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.02723, allocations: 13.77 kB / 32.37 MB, free: 7.211 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.P1.fireOut[1],P1.emptying,P1.outTransition[1].arcType,T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],T1.activation.arcType[1],T1.activation.fed[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 1 * 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.0002281/0.02747, allocations: 202.5 kB / 32.57 MB, free: 7.066 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.02755, allocations: 12.72 kB / 32.58 MB, free: 7.066 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008545/0.02841, allocations: 357.8 kB / 32.93 MB, free: 6.957 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.02845, allocations: 7.281 kB / 32.94 MB, free: 6.957 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.02847, allocations: 0 / 32.94 MB, free: 6.957 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.02848, allocations: 0 / 32.94 MB, free: 6.957 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.02952, allocations: 0.6435 MB / 33.58 MB, free: 6.527 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.02955, allocations: 3.938 kB / 33.59 MB, free: 6.523 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.02973, allocations: 29.7 kB / 33.62 MB, free: 6.512 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.02976, allocations: 0.625 kB / 33.62 MB, free: 6.512 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.0298, allocations: 10.06 kB / 33.63 MB, free: 6.504 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.02981, allocations: 2.438 kB / 33.63 MB, free: 6.504 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.02982, allocations: 0 / 33.63 MB, free: 6.504 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009425/0.03077, allocations: 497.7 kB / 34.12 MB, free: 6.008 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.03083, allocations: 90.7 kB / 34.2 MB, free: 5.906 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.239e-05/0.03089, allocations: 8 kB / 34.21 MB, free: 5.898 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.03112, allocations: 15.98 kB / 34.23 MB, free: 5.883 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.03126, allocations: 35.95 kB / 34.26 MB, free: 5.848 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.0313, allocations: 4 kB / 34.27 MB, free: 5.844 MB / 18.57 MB Notification: Performance of sorting global known variables: time 9.859e-05/0.03142, allocations: 121.2 kB / 34.38 MB, free: 5.727 MB / 18.57 MB Notification: Performance of sort global known variables: time 4.31e-07/0.03143, allocations: 0 / 34.38 MB, free: 5.727 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005766/0.03202, allocations: 97.08 kB / 34.48 MB, free: 5.641 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P1.t_) * Number of discrete variables: 4 (T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],P1.emptying) * Number of discrete states: 3 (T1.activation.weaklyInputActiveVec[1],T1.activation.active,P1.fireOut[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 1 * 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.0002877/0.03232, allocations: 156.7 kB / 34.63 MB, free: 5.492 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0006287/0.03297, allocations: 291.3 kB / 34.92 MB, free: 5.195 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.03299, allocations: 8.25 kB / 34.93 MB, free: 5.188 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.03328, allocations: 167.3 kB / 35.09 MB, free: 5.012 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.03378, allocations: 24.14 kB / 35.11 MB, free: 4.988 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.03493, allocations: 0.5364 MB / 35.65 MB, free: 4.438 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.03519, allocations: 0.7753 MB / 36.42 MB, free: 3.637 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0002561/0.03546, allocations: 81.34 kB / 36.5 MB, free: 3.559 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.03559, allocations: 39.41 kB / 36.54 MB, free: 3.52 MB / 18.57 MB Notification: Performance of SimCode: time 6.11e-07/0.03561, allocations: 0 / 36.54 MB, free: 3.52 MB / 18.57 MB Notification: Performance of Templates: time 0.009044/0.04466, allocations: 2.61 MB / 39.15 MB, free: 0.9414 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test2.makefile (rm -f ConPNlib_ConPNlib.Examples.Test2.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test2.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test2.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test2.sim & ./ConPNlib_ConPNlib.Examples.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test2.pipe 2>&1)