Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test4") translateModel(ConPNlib.Examples.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test4") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.0052/0.0052, allocations: 1.404 MB / 16.66 MB, free: 5.102 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.409e-05/1.412e-05, allocations: 0 / 23.7 MB, free: 3.723 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000299/0.0003271, allocations: 363.5 kB / 24.06 MB, free: 3.41 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test4): time 0.0009111/0.001247, allocations: 1.163 MB / 25.22 MB, free: 2.25 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.002264, allocations: 1.484 MB / 26.71 MB, free: 0.5977 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.002401, allocations: 4 kB / 26.71 MB, free: 0.5938 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.002585, allocations: 91.38 kB / 26.8 MB, free: 0.5039 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005264/0.00312, allocations: 264.4 kB / 27.06 MB, free: 252 kB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 9.184e-05/0.003224, allocations: 54 kB / 27.11 MB, free: 200 kB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.003624, allocations: 478.6 kB / 27.58 MB, free: 4.371 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002745/0.003907, allocations: 236.5 kB / 27.81 MB, free: 4.133 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.004079, allocations: 190.8 kB / 27.99 MB, free: 3.945 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.004281, allocations: 194.7 kB / 28.18 MB, free: 3.754 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 4.173e-05/0.00433, allocations: 20 kB / 28.2 MB, free: 3.734 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002821/0.004618, allocations: 207.6 kB / 28.41 MB, free: 3.531 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.004732, allocations: 108.3 kB / 28.51 MB, free: 3.426 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.004915, allocations: 228.2 kB / 28.74 MB, free: 3.195 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0006081/0.00553, allocations: 0.6503 MB / 29.39 MB, free: 2.543 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.005544, allocations: 0 / 29.39 MB, free: 2.543 MB / 18.57 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005551, allocations: 7.938 kB / 29.39 MB, free: 2.535 MB / 18.57 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.005561, allocations: 0 / 29.39 MB, free: 2.535 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.0007808/0.006346, allocations: 0.7363 MB / 30.13 MB, free: 1.738 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.006386, allocations: 12.31 kB / 30.14 MB, free: 1.727 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.006493, allocations: 64.27 kB / 30.2 MB, free: 1.664 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.00691, allocations: 371.9 kB / 30.57 MB, free: 1.262 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-05/0.006979, allocations: 57.67 kB / 30.62 MB, free: 1.203 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.428e-05/0.00707, allocations: 64.36 kB / 30.69 MB, free: 1.141 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.008386, allocations: 0.9423 MB / 31.63 MB, free: 184 kB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.008412, allocations: 0 / 31.63 MB, free: 184 kB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.221e-05/0.00847, allocations: 27.98 kB / 31.66 MB, free: 156 kB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-05/0.008568, allocations: 57.27 kB / 31.71 MB, free: 100 kB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005674/0.01425, allocations: 0.6597 MB / 32.37 MB, free: 7.59 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.0161, allocations: 1.782 MB / 34.16 MB, free: 6.566 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/0.01665, allocations: 485.7 kB / 34.63 MB, free: 6.219 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.01695, allocations: 281.5 kB / 34.9 MB, free: 5.941 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004196/0.01738, allocations: 0.8568 MB / 35.76 MB, free: 4.902 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.01741, allocations: 39.81 kB / 35.8 MB, free: 4.855 MB / 18.57 MB Notification: Performance of pre-optimization done (n=33): time 1.562e-06/0.01742, allocations: 0 / 35.8 MB, free: 4.855 MB / 18.57 MB Notification: Performance of matching and sorting (n=33): time 0.001872/0.01929, allocations: 1.133 MB / 36.93 MB, free: 3.688 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.01935, allocations: 174.2 kB / 37.1 MB, free: 3.48 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.01953, allocations: 267.8 kB / 37.36 MB, free: 3.207 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.01956, allocations: 36.12 kB / 37.4 MB, free: 3.168 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 9.965e-05/0.01967, allocations: 282.8 kB / 37.68 MB, free: 2.895 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 6.299e-05/0.01974, allocations: 105.6 kB / 37.78 MB, free: 2.793 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.01976, allocations: 8 kB / 37.79 MB, free: 2.785 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.776e-05/0.01983, allocations: 342.7 kB / 38.12 MB, free: 2.441 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.02014, allocations: 240.7 kB / 38.36 MB, free: 2.203 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.02048, allocations: 356.5 kB / 38.7 MB, free: 1.809 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005687/0.02105, allocations: 0.633 MB / 39.34 MB, free: 1.113 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.02107, allocations: 0 / 39.34 MB, free: 1.113 MB / 18.57 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009677/0.02204, allocations: 0.8564 MB / 40.19 MB, free: 248 kB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/0.0221, allocations: 83.39 kB / 40.28 MB, free: 152 kB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.02211, allocations: 1.094 kB / 40.28 MB, free: 152 kB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006101/0.02822, allocations: 256.8 kB / 40.53 MB, free: 6.363 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.02851, allocations: 51.59 kB / 40.58 MB, free: 6.363 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007667/0.02929, allocations: 0.7359 MB / 41.31 MB, free: 5.848 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/0.02963, allocations: 70.08 kB / 41.38 MB, free: 5.848 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.316e-05/0.02971, allocations: 27.2 kB / 41.41 MB, free: 5.848 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.P1.fireOut[1],P1.emptying,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],T1.activation.arcType[1],T2.activation.arcType[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 (43): * Single equations (assignments): 40 * 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 {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004612/0.03018, allocations: 346.8 kB / 41.75 MB, free: 5.668 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.567e-05/0.03027, allocations: 29.7 kB / 41.78 MB, free: 5.668 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.03162, allocations: 0.8478 MB / 42.62 MB, free: 5.547 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.314e-05/0.03166, allocations: 7.812 kB / 42.63 MB, free: 5.547 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.03168, allocations: 0 / 42.63 MB, free: 5.547 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.0317, allocations: 3.797 kB / 42.64 MB, free: 5.547 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.03327, allocations: 1.368 MB / 44 MB, free: 4.609 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.03329, allocations: 2.062 kB / 44 MB, free: 4.609 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.03343, allocations: 38.11 kB / 44.04 MB, free: 4.574 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006559/0.03409, allocations: 275 kB / 44.31 MB, free: 4.312 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.03414, allocations: 15.98 kB / 44.33 MB, free: 4.297 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004395/0.03458, allocations: 0.7625 MB / 45.09 MB, free: 3.52 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.03459, allocations: 0 / 45.09 MB, free: 3.52 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.03586, allocations: 1.159 MB / 46.25 MB, free: 2.352 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.03591, allocations: 108.1 kB / 46.35 MB, free: 2.246 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-05/0.03597, allocations: 17.02 kB / 46.37 MB, free: 2.23 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.03615, allocations: 35.97 kB / 46.4 MB, free: 2.195 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.03632, allocations: 82.88 kB / 46.49 MB, free: 2.117 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.03636, allocations: 23.98 kB / 46.51 MB, free: 2.094 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001117/0.03648, allocations: 164.5 kB / 46.67 MB, free: 1.93 MB / 18.57 MB Notification: Performance of sort global known variables: time 2.71e-07/0.03648, allocations: 0 / 46.67 MB, free: 1.93 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0004824/0.03697, allocations: 200.2 kB / 46.87 MB, free: 1.766 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: 11 (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]) * Number of discrete states: 8 (P1.fireOut[1],P2.fireIn[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P2.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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 {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002964/0.03727, allocations: 215.4 kB / 47.08 MB, free: 1.566 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0009013/0.03819, allocations: 0.7475 MB / 47.82 MB, free: 0.793 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.0382, allocations: 0 / 47.82 MB, free: 0.793 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0004391/0.03865, allocations: 457.8 kB / 48.27 MB, free: 336 kB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.03898, allocations: 48.47 kB / 48.32 MB, free: 288 kB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007587/0.04657, allocations: 1.306 MB / 49.62 MB, free: 5.539 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.04707, allocations: 0.9347 MB / 50.56 MB, free: 11.23 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0001861/0.04726, allocations: 89.45 kB / 50.65 MB, free: 11.23 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.04732, allocations: 38 kB / 50.68 MB, free: 11.22 MB / 24.96 MB Notification: Performance of SimCode: time 4.31e-07/0.04733, allocations: 0 / 50.68 MB, free: 11.22 MB / 24.96 MB Notification: Performance of Templates: time 0.009681/0.05702, allocations: 6.631 MB / 57.31 MB, free: 5.707 MB / 24.96 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test4.makefile (rm -f ConPNlib_ConPNlib.Examples.Test4.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test4.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test4.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test4.sim & ./ConPNlib_ConPNlib.Examples.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test4.pipe 2>&1)