Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test10.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.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test10") translateModel(ConPNlib.Examples.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test10") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.009342/0.009342, allocations: 1.402 MB / 16.66 MB, free: 4.758 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.893e-05/1.903e-05, allocations: 0 / 23.7 MB, free: 3.625 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007782/0.0008255, allocations: 366.9 kB / 24.06 MB, free: 3.301 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test10): time 0.002245/0.003094, allocations: 1.782 MB / 25.84 MB, free: 1.52 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.002589/0.005705, allocations: 1.699 MB / 27.54 MB, free: 4.301 MB / 18.57 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005858/0.006313, allocations: 7.938 kB / 27.55 MB, free: 4.293 MB / 18.57 MB Notification: Performance of NFTyping.typeComponents: time 0.0004431/0.006775, allocations: 139.7 kB / 27.69 MB, free: 4.156 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.00831, allocations: 365.5 kB / 28.04 MB, free: 3.801 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.008565, allocations: 63.94 kB / 28.11 MB, free: 3.738 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.001103/0.009683, allocations: 0.7205 MB / 28.83 MB, free: 3.016 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009058/0.01061, allocations: 441.5 kB / 29.26 MB, free: 2.566 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005082/0.01114, allocations: 278.1 kB / 29.53 MB, free: 2.293 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005455/0.0117, allocations: 313.7 kB / 29.84 MB, free: 1.984 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.01184, allocations: 28 kB / 29.86 MB, free: 1.957 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005686/0.01243, allocations: 216.5 kB / 30.07 MB, free: 1.746 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0002791/0.01273, allocations: 179.1 kB / 30.25 MB, free: 1.57 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0004498/0.0132, allocations: 371 kB / 30.61 MB, free: 1.199 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.01464, allocations: 0.9619 MB / 31.57 MB, free: 240 kB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.01467, allocations: 0 / 31.57 MB, free: 240 kB / 18.57 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01468, allocations: 3.938 kB / 31.58 MB, free: 236 kB / 18.57 MB Notification: Performance of Transformations before backend: time 2.788e-05/0.01472, allocations: 0 / 31.58 MB, free: 236 kB / 18.57 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.01141/0.02614, allocations: 0.9934 MB / 32.57 MB, free: 7.309 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.02621, allocations: 10.81 kB / 32.58 MB, free: 7.309 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003761/0.02661, allocations: 108.4 kB / 32.69 MB, free: 7.258 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000938/0.02757, allocations: 0.4948 MB / 33.18 MB, free: 6.98 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.0277, allocations: 88.2 kB / 33.27 MB, free: 6.977 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/0.02793, allocations: 121.8 kB / 33.39 MB, free: 6.977 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003101/0.03105, allocations: 1.585 MB / 34.97 MB, free: 5.762 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/0.0311, allocations: 0.9375 kB / 34.97 MB, free: 5.762 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.03124, allocations: 60.77 kB / 35.03 MB, free: 5.715 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001746/0.03143, allocations: 102.1 kB / 35.13 MB, free: 5.613 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.03373, allocations: 1.121 MB / 36.25 MB, free: 4.488 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005093/0.03884, allocations: 3.479 MB / 39.73 MB, free: 0.8242 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.04019, allocations: 0.6577 MB / 40.39 MB, free: 136 kB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01056/0.05078, allocations: 438.8 kB / 40.82 MB, free: 6.547 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005469/0.05136, allocations: 0.6052 MB / 41.42 MB, free: 5.891 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.05142, allocations: 48.81 kB / 41.47 MB, free: 5.852 MB / 18.57 MB Notification: Performance of pre-optimization done (n=51): time 4.669e-06/0.05144, allocations: 0 / 41.47 MB, free: 5.852 MB / 18.57 MB Notification: Performance of matching and sorting (n=51): time 0.002767/0.05421, allocations: 1.094 MB / 42.57 MB, free: 5.723 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.05438, allocations: 269 kB / 42.83 MB, free: 5.426 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006462/0.05504, allocations: 414.9 kB / 43.23 MB, free: 5.23 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 6.129e-05/0.05512, allocations: 41.55 kB / 43.27 MB, free: 5.191 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003813/0.05552, allocations: 461.3 kB / 43.72 MB, free: 4.891 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.05571, allocations: 166.5 kB / 43.89 MB, free: 4.773 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.05578, allocations: 15.25 kB / 43.9 MB, free: 4.766 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.05588, allocations: 356.5 kB / 44.25 MB, free: 4.434 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008816/0.05678, allocations: 380.4 kB / 44.62 MB, free: 4.273 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008908/0.05769, allocations: 0.5894 MB / 45.21 MB, free: 3.609 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.05917, allocations: 0.9544 MB / 46.17 MB, free: 2.555 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.0592, allocations: 2.078 kB / 46.17 MB, free: 2.555 MB / 18.57 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002315/0.06152, allocations: 1.125 MB / 47.29 MB, free: 1.418 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 9.457e-05/0.06163, allocations: 87.38 kB / 47.38 MB, free: 1.32 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.06167, allocations: 11.94 kB / 47.39 MB, free: 1.309 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.828e-05/0.06171, allocations: 8 kB / 47.4 MB, free: 1.301 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000613/0.06233, allocations: 115.8 kB / 47.51 MB, free: 1.188 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-05/0.06238, allocations: 16.94 kB / 47.53 MB, free: 1.172 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006347/0.06303, allocations: 119.3 kB / 47.64 MB, free: 1.055 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.06316, allocations: 47.7 kB / 47.69 MB, free: 1.012 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireOut[1],$PRE.P2.fireOut[2],P2.emptying,$PRE.P3.fireIn[1],P3.feeding,$PRE.P4.fireIn[1],P4.feeding,IA1.outTransition.arcType,P2.outTransition[1].arcType,P1.outTransition[1].arcType,P1.fireOut[1],P2.fireOut[1],P2.fireOut[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P4.fireIn[1],T1.activation.arcType[1],T2.activation.arcType[1],T1.activation.arcType[2],T2.activation.emptied[1],T1.activation.emptied[1],T1.activation.fed[2],T1.activation.fed[1],T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces,P2.outTransition[2].arcType) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 81 * Array equations: 4 * 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.0008366/0.06401, allocations: 454.2 kB / 48.13 MB, free: 0.5508 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.06419, allocations: 47.53 kB / 48.18 MB, free: 0.5039 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/0.07899, allocations: 0.9423 MB / 49.12 MB, free: 5.578 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-05/0.07911, allocations: 11.06 kB / 49.13 MB, free: 5.578 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.07915, allocations: 3.875 kB / 49.14 MB, free: 5.578 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.07917, allocations: 3.891 kB / 49.14 MB, free: 5.578 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003699/0.08288, allocations: 1.751 MB / 50.89 MB, free: 5.086 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.08291, allocations: 3.016 kB / 50.89 MB, free: 5.086 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004386/0.08336, allocations: 74.66 kB / 50.97 MB, free: 5.082 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.08339, allocations: 3.438 kB / 50.97 MB, free: 5.082 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-05/0.08347, allocations: 21.91 kB / 50.99 MB, free: 5.074 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.08348, allocations: 2.906 kB / 50.99 MB, free: 5.074 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.0835, allocations: 3.5 kB / 51 MB, free: 5.074 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/0.08627, allocations: 1.41 MB / 52.41 MB, free: 4.043 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.0864, allocations: 123.9 kB / 52.53 MB, free: 3.934 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.08654, allocations: 28 kB / 52.56 MB, free: 3.906 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/0.08697, allocations: 58.83 kB / 52.61 MB, free: 3.852 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003308/0.08732, allocations: 128.1 kB / 52.74 MB, free: 3.73 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.98e-05/0.08743, allocations: 35.34 kB / 52.77 MB, free: 3.699 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0003212/0.08776, allocations: 249.2 kB / 53.02 MB, free: 3.457 MB / 18.57 MB Notification: Performance of sort global known variables: time 5.01e-07/0.08778, allocations: 0 / 53.02 MB, free: 3.457 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.001121/0.08891, allocations: 287.4 kB / 53.3 MB, free: 3.219 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.t_,P2.t_,P3.t_,P4.t_) * Number of discrete variables: 17 (P1.fireOut[1],P1.emptying,P2.fireOut[1],P2.fireOut[2],P2.emptying,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding,P4.fireIn[1],P4.feeding) * Number of discrete states: 12 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P2.fireOut[1],P2.fireOut[2],P3.fireIn[1],P4.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 44 * Array equations: 4 * 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.0004535/0.08939, allocations: 220.2 kB / 53.51 MB, free: 3.016 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.002182/0.09159, allocations: 1.126 MB / 54.64 MB, free: 1.875 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.09161, allocations: 0 / 54.64 MB, free: 1.875 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.09266, allocations: 0.6082 MB / 55.25 MB, free: 1.246 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007048/0.09338, allocations: 73.48 kB / 55.32 MB, free: 1.18 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/0.1084, allocations: 2.25 MB / 57.57 MB, free: 4.449 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.1095, allocations: 1.112 MB / 58.68 MB, free: 10.14 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.000952/0.1105, allocations: 263 kB / 58.94 MB, free: 10.12 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.1108, allocations: 79.05 kB / 59.01 MB, free: 10.11 MB / 24.96 MB Notification: Performance of SimCode: time 7.01e-07/0.1108, allocations: 3.75 kB / 59.02 MB, free: 10.11 MB / 24.96 MB Notification: Performance of Templates: time 0.01632/0.1271, allocations: 7.634 MB / 66.65 MB, free: 3.25 MB / 24.96 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test10.makefile (rm -f ConPNlib_ConPNlib.Examples.Test10.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test10.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test10.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test10.sim & ./ConPNlib_ConPNlib.Examples.Test10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test10.pipe 2>&1)