Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test8") translateModel(ConPNlib.Examples.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test8") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005487/0.005487, allocations: 1.404 MB / 16.66 MB, free: 5.102 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.723e-05/1.724e-05, allocations: 0 / 23.7 MB, free: 3.723 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006387/0.0006712, allocations: 363.5 kB / 24.06 MB, free: 3.41 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test8): time 0.001223/0.001906, allocations: 1.42 MB / 25.48 MB, free: 1.992 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.003601, allocations: 1.574 MB / 27.05 MB, free: 256 kB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000232/0.003848, allocations: 7.938 kB / 27.06 MB, free: 248 kB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.004063, allocations: 111.2 kB / 27.17 MB, free: 136 kB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0007081/0.004779, allocations: 322.3 kB / 27.48 MB, free: 4.465 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001234/0.004914, allocations: 55.94 kB / 27.54 MB, free: 4.41 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.0005805/0.005503, allocations: 0.5764 MB / 28.12 MB, free: 3.832 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003445/0.005858, allocations: 305.7 kB / 28.41 MB, free: 3.52 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.006057, allocations: 218.6 kB / 28.63 MB, free: 3.305 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.006286, allocations: 250.2 kB / 28.87 MB, free: 3.059 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 4.963e-05/0.006343, allocations: 24 kB / 28.9 MB, free: 3.035 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.006654, allocations: 215.6 kB / 29.11 MB, free: 2.824 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.006793, allocations: 144.1 kB / 29.25 MB, free: 2.684 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.007003, allocations: 283.8 kB / 29.52 MB, free: 2.398 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0006703/0.007679, allocations: 0.7827 MB / 30.31 MB, free: 1.613 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.007691, allocations: 0 / 30.31 MB, free: 1.613 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.403e-06/0.007698, allocations: 0 / 30.31 MB, free: 1.613 MB / 18.57 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.00771, allocations: 0 / 30.31 MB, free: 1.613 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.0009057/0.00862, allocations: 0.8419 MB / 31.15 MB, free: 0.7109 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.008658, allocations: 8.312 kB / 31.16 MB, free: 0.7031 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.008783, allocations: 88.09 kB / 31.24 MB, free: 0.6172 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000497/0.009287, allocations: 435.7 kB / 31.67 MB, free: 156 kB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.539e-05/0.009362, allocations: 66.36 kB / 31.73 MB, free: 88 kB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.009485, allocations: 88.36 kB / 31.82 MB, free: 0 / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006863/0.01635, allocations: 1.204 MB / 33.02 MB, free: 7.43 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.01639, allocations: 3 kB / 33.03 MB, free: 7.43 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.963e-05/0.01645, allocations: 41.75 kB / 33.07 MB, free: 7.402 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.61e-05/0.01655, allocations: 71.64 kB / 33.14 MB, free: 7.387 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.01758, allocations: 0.8695 MB / 34.01 MB, free: 6.844 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.01966, allocations: 2.567 MB / 36.57 MB, free: 4.164 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000645/0.02032, allocations: 0.6311 MB / 37.2 MB, free: 3.484 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003642/0.02069, allocations: 353.5 kB / 37.55 MB, free: 3.141 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002904/0.02099, allocations: 0.5976 MB / 38.15 MB, free: 2.414 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.02102, allocations: 38.86 kB / 38.19 MB, free: 2.367 MB / 18.57 MB Notification: Performance of pre-optimization done (n=41): time 1.643e-06/0.02103, allocations: 0 / 38.19 MB, free: 2.367 MB / 18.57 MB Notification: Performance of matching and sorting (n=41): time 0.00129/0.02232, allocations: 1.004 MB / 39.19 MB, free: 1.355 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.02239, allocations: 216.2 kB / 39.4 MB, free: 1.102 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.0226, allocations: 314.3 kB / 39.71 MB, free: 0.7852 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.02264, allocations: 37.7 kB / 39.74 MB, free: 0.7422 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.02277, allocations: 347.5 kB / 40.08 MB, free: 416 kB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 7.103e-05/0.02285, allocations: 129.9 kB / 40.21 MB, free: 288 kB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.02288, allocations: 14.5 kB / 40.22 MB, free: 276 kB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.005098/0.02799, allocations: 346.8 kB / 40.56 MB, free: 5.98 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/0.02845, allocations: 300.8 kB / 40.86 MB, free: 5.98 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004477/0.02891, allocations: 449.8 kB / 41.3 MB, free: 5.816 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007428/0.02966, allocations: 0.7657 MB / 42.06 MB, free: 5.547 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.02968, allocations: 3.812 kB / 42.07 MB, free: 5.547 MB / 18.57 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001104/0.03079, allocations: 0.9748 MB / 43.04 MB, free: 5.25 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/0.03085, allocations: 86.66 kB / 43.12 MB, free: 5.176 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.03086, allocations: 2.906 kB / 43.13 MB, free: 5.176 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.03089, allocations: 11.81 kB / 43.14 MB, free: 5.176 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.03113, allocations: 94.27 kB / 43.23 MB, free: 5.164 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.03115, allocations: 8.531 kB / 43.24 MB, free: 5.164 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.03138, allocations: 90.64 kB / 43.33 MB, free: 5.156 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/0.03143, allocations: 36.67 kB / 43.36 MB, free: 5.148 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.P1.fireOut[1],$PRE.P1.fireOut[2],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P1.outTransition[2].arcType,P1.outTransition[1].arcType,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[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.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 (65): * Single equations (assignments): 60 * Array equations: 3 * Algorithm blocks: 2 * 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.0003013/0.03174, allocations: 384.4 kB / 43.74 MB, free: 4.805 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/0.0318, allocations: 34.78 kB / 43.77 MB, free: 4.785 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.03284, allocations: 0.8704 MB / 44.64 MB, free: 3.918 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/0.03288, allocations: 23.98 kB / 44.67 MB, free: 3.895 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.03289, allocations: 3.938 kB / 44.67 MB, free: 3.891 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.0329, allocations: 0 / 44.67 MB, free: 3.891 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.03439, allocations: 1.521 MB / 46.19 MB, free: 2.328 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.03441, allocations: 4 kB / 46.2 MB, free: 2.324 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.0346, allocations: 60.73 kB / 46.26 MB, free: 2.266 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.03461, allocations: 3.938 kB / 46.26 MB, free: 2.262 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.03465, allocations: 21.2 kB / 46.28 MB, free: 2.242 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.03466, allocations: 0 / 46.28 MB, free: 2.242 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.03467, allocations: 0 / 46.28 MB, free: 2.242 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.036, allocations: 1.267 MB / 47.55 MB, free: 0.9648 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.03605, allocations: 119.4 kB / 47.66 MB, free: 0.8516 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005489/0.04155, allocations: 21.25 kB / 47.68 MB, free: 5.82 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.04178, allocations: 47.89 kB / 47.73 MB, free: 5.82 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/0.042, allocations: 114.7 kB / 47.84 MB, free: 5.82 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.864e-05/0.04206, allocations: 24.83 kB / 47.87 MB, free: 5.82 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001382/0.0422, allocations: 203 kB / 48.07 MB, free: 5.742 MB / 18.57 MB Notification: Performance of sort global known variables: time 5.11e-07/0.04221, allocations: 0 / 48.07 MB, free: 5.742 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0004754/0.04269, allocations: 233.3 kB / 48.29 MB, free: 5.734 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.fireOut[2],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[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 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 3 * Algorithm blocks: 2 * 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.0002796/0.04298, allocations: 210.5 kB / 48.5 MB, free: 5.641 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.04404, allocations: 0.9168 MB / 49.42 MB, free: 5.512 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.04406, allocations: 2.906 kB / 49.42 MB, free: 5.512 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.000517/0.04458, allocations: 0.5084 MB / 49.93 MB, free: 5.332 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.04496, allocations: 63.67 kB / 49.99 MB, free: 5.312 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.04687, allocations: 1.681 MB / 51.67 MB, free: 4.113 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.04721, allocations: 1.012 MB / 52.68 MB, free: 3.086 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0003351/0.04755, allocations: 206 kB / 52.88 MB, free: 2.891 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.04769, allocations: 59.39 kB / 52.94 MB, free: 2.832 MB / 18.57 MB Notification: Performance of SimCode: time 1.232e-06/0.04769, allocations: 0 / 52.94 MB, free: 2.832 MB / 18.57 MB Notification: Performance of Templates: time 0.01794/0.06563, allocations: 6.401 MB / 59.34 MB, free: 2.172 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test8.makefile (rm -f ConPNlib_ConPNlib.Examples.Test8.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test8.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test8.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test8.sim & ./ConPNlib_ConPNlib.Examples.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test8.pipe 2>&1)