Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test3") translateModel(ConPNlib.Examples.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005619/0.005619, allocations: 1.403 MB / 16.66 MB, free: 4.711 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 9.709e-06/9.738e-06, allocations: 0 / 23.7 MB, free: 3.508 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003917/0.0004161, allocations: 366.9 kB / 24.06 MB, free: 3.172 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test3): time 0.0007014/0.001129, allocations: 0.6895 MB / 24.75 MB, free: 2.484 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0009594/0.002099, allocations: 1.195 MB / 25.95 MB, free: 1.141 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.002237, allocations: 7.938 kB / 25.95 MB, free: 1.133 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.002382, allocations: 41.78 kB / 26 MB, free: 1.094 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005039/0.002894, allocations: 187.4 kB / 26.18 MB, free: 0.9102 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 7.459e-05/0.00298, allocations: 31.89 kB / 26.21 MB, free: 0.8789 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.003175, allocations: 210.8 kB / 26.42 MB, free: 0.6758 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.003306, allocations: 80.23 kB / 26.49 MB, free: 0.5938 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 8.762e-05/0.0034, allocations: 87.45 kB / 26.58 MB, free: 0.5078 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 9.224e-05/0.003499, allocations: 79.42 kB / 26.66 MB, free: 440 kB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.003527, allocations: 4 kB / 26.66 MB, free: 436 kB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.003716, allocations: 135.8 kB / 26.79 MB, free: 300 kB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.003771, allocations: 48.61 kB / 26.84 MB, free: 252 kB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 6.002e-05/0.003838, allocations: 93.19 kB / 26.93 MB, free: 152 kB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.004151, allocations: 283.2 kB / 27.21 MB, free: 4.516 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004164, allocations: 4 kB / 27.21 MB, free: 4.512 MB / 18.57 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004169, allocations: 0 / 27.21 MB, free: 4.512 MB / 18.57 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.00418, allocations: 0 / 27.21 MB, free: 4.512 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0005457/0.00473, allocations: 480.6 kB / 27.68 MB, free: 3.988 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.004773, allocations: 8.312 kB / 27.69 MB, free: 3.98 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.06e-05/0.004841, allocations: 38.39 kB / 27.73 MB, free: 3.945 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.005077, allocations: 236 kB / 27.96 MB, free: 3.676 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.005111, allocations: 20.94 kB / 27.98 MB, free: 3.656 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.005161, allocations: 24.36 kB / 28 MB, free: 3.633 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005698/0.005737, allocations: 344.7 kB / 28.34 MB, free: 3.281 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.00576, allocations: 192 / 28.34 MB, free: 3.281 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.005797, allocations: 15.92 kB / 28.35 MB, free: 3.266 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.199e-05/0.005848, allocations: 24.42 kB / 28.38 MB, free: 3.242 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004292/0.006283, allocations: 225.6 kB / 28.6 MB, free: 3.023 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.007713, allocations: 0.9065 MB / 29.51 MB, free: 2.02 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.008019, allocations: 146.4 kB / 29.65 MB, free: 1.867 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.008195, allocations: 92.8 kB / 29.74 MB, free: 1.773 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004431/0.008648, allocations: 433.5 kB / 30.16 MB, free: 1.258 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.008693, allocations: 38.56 kB / 30.2 MB, free: 1.211 MB / 18.57 MB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/0.008701, allocations: 0 / 30.2 MB, free: 1.211 MB / 18.57 MB Notification: Performance of matching and sorting (n=13): time 0.0006186/0.009326, allocations: 311.1 kB / 30.5 MB, free: 0.8945 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/0.009426, allocations: 110.8 kB / 30.61 MB, free: 0.7617 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.009574, allocations: 150.8 kB / 30.76 MB, free: 0.6016 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.00961, allocations: 33.7 kB / 30.79 MB, free: 0.5625 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 9.235e-05/0.009709, allocations: 144 kB / 30.93 MB, free: 428 kB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.00976, allocations: 39.44 kB / 30.97 MB, free: 388 kB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.183e-05/0.00978, allocations: 12 kB / 30.98 MB, free: 376 kB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.009913, allocations: 318.8 kB / 31.29 MB, free: 48 kB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007651/0.01757, allocations: 74.59 kB / 31.37 MB, free: 7.43 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.01775, allocations: 122.3 kB / 31.49 MB, free: 7.383 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.01804, allocations: 235.1 kB / 31.72 MB, free: 7.281 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.01806, allocations: 4.938 kB / 31.72 MB, free: 7.281 MB / 18.57 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004142/0.01848, allocations: 302.5 kB / 32.02 MB, free: 7.219 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.01852, allocations: 38.66 kB / 32.05 MB, free: 7.188 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.01854, allocations: 1.094 kB / 32.05 MB, free: 7.188 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.01856, allocations: 2.094 kB / 32.06 MB, free: 7.188 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.01868, allocations: 31.94 kB / 32.09 MB, free: 7.188 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.0187, allocations: 2.375 kB / 32.09 MB, free: 7.188 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.443e-05/0.01879, allocations: 23 kB / 32.11 MB, free: 7.184 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.01882, allocations: 14.98 kB / 32.13 MB, free: 7.184 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: 7 ($PRE.P1.fireIn[1],P1.feeding,T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],T1.activation.emptied[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 (19): * Single equations (assignments): 17 * 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.0001341/0.01896, allocations: 195.9 kB / 32.32 MB, free: 7.039 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.019, allocations: 14.72 kB / 32.33 MB, free: 7.039 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004781/0.01948, allocations: 323.9 kB / 32.65 MB, free: 6.957 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.01951, allocations: 3.875 kB / 32.65 MB, free: 6.957 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.01952, allocations: 0 / 32.65 MB, free: 6.957 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01953, allocations: 0 / 32.65 MB, free: 6.957 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005851/0.02012, allocations: 0.6126 MB / 33.27 MB, free: 6.625 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.02013, allocations: 3.438 kB / 33.27 MB, free: 6.625 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.891e-05/0.02022, allocations: 23.92 kB / 33.29 MB, free: 6.621 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.02024, allocations: 7.438 kB / 33.3 MB, free: 6.621 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.02026, allocations: 0 / 33.3 MB, free: 6.621 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.02026, allocations: 3.812 kB / 33.3 MB, free: 6.621 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.02027, allocations: 6.609 kB / 33.31 MB, free: 6.617 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/0.02078, allocations: 450.4 kB / 33.75 MB, free: 6.379 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/0.02082, allocations: 98.44 kB / 33.85 MB, free: 6.273 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.02085, allocations: 4 kB / 33.85 MB, free: 6.27 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.163e-05/0.02095, allocations: 15.98 kB / 33.87 MB, free: 6.254 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.034e-05/0.02105, allocations: 34.81 kB / 33.9 MB, free: 6.223 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.02107, allocations: 11.98 kB / 33.91 MB, free: 6.211 MB / 18.57 MB Notification: Performance of sorting global known variables: time 5.295e-05/0.02113, allocations: 115.4 kB / 34.02 MB, free: 6.102 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.3e-07/0.02114, allocations: 0 / 34.02 MB, free: 6.102 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0003011/0.02144, allocations: 85.47 kB / 34.11 MB, free: 6.027 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.weaklyOutputActiveVec[1],P1.fireIn[1],P1.feeding) * Number of discrete states: 3 (T1.activation.weaklyOutputActiveVec[1],T1.activation.active,P1.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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.0001836/0.02163, allocations: 162.2 kB / 34.27 MB, free: 5.875 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0003418/0.02198, allocations: 254 kB / 34.51 MB, free: 5.617 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.022, allocations: 4.25 kB / 34.52 MB, free: 5.613 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.02215, allocations: 163.3 kB / 34.68 MB, free: 5.441 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.02242, allocations: 17.75 kB / 34.69 MB, free: 5.426 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006569/0.02308, allocations: 0.5158 MB / 35.21 MB, free: 4.891 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.02325, allocations: 0.7673 MB / 35.98 MB, free: 4.098 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.02339, allocations: 77.22 kB / 36.05 MB, free: 4.02 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/0.02345, allocations: 35.41 kB / 36.09 MB, free: 3.988 MB / 18.57 MB Notification: Performance of SimCode: time 2.1e-07/0.02346, allocations: 0 / 36.09 MB, free: 3.988 MB / 18.57 MB Notification: Performance of Templates: time 0.004446/0.02791, allocations: 2.384 MB / 38.47 MB, free: 1.633 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test3.makefile (rm -f ConPNlib_ConPNlib.Examples.Test3.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test3.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test3.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test3.sim & ./ConPNlib_ConPNlib.Examples.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test3.pipe 2>&1)