Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test5.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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test5") translateModel(ConPNlib.Examples.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test5") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005389/0.005389, allocations: 1.404 MB / 16.66 MB, free: 4.695 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.389e-05/1.392e-05, allocations: 4 kB / 23.71 MB, free: 3.613 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003747/0.000402, allocations: 359.3 kB / 24.06 MB, free: 3.301 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test5): time 0.0007903/0.001201, allocations: 0.9487 MB / 25.01 MB, free: 2.355 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.002283, allocations: 1.299 MB / 26.31 MB, free: 0.9062 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.002511, allocations: 8.562 kB / 26.32 MB, free: 0.8984 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.002698, allocations: 67.58 kB / 26.38 MB, free: 0.832 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006118/0.003318, allocations: 232.8 kB / 26.61 MB, free: 0.6055 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 9.109e-05/0.003421, allocations: 34.03 kB / 26.64 MB, free: 0.5742 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.003719, allocations: 331 kB / 26.97 MB, free: 256 kB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.003901, allocations: 151.2 kB / 27.11 MB, free: 100 kB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.004067, allocations: 131.2 kB / 27.24 MB, free: 4.613 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.004268, allocations: 139 kB / 27.38 MB, free: 4.477 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.004316, allocations: 12 kB / 27.39 MB, free: 4.465 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.004629, allocations: 199.7 kB / 27.58 MB, free: 4.27 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-05/0.004723, allocations: 72.48 kB / 27.66 MB, free: 4.199 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.004867, allocations: 164.6 kB / 27.82 MB, free: 4.031 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0005049/0.005378, allocations: 498.5 kB / 28.3 MB, free: 3.543 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.005391, allocations: 4 kB / 28.31 MB, free: 3.539 MB / 18.57 MB Notification: Performance of FrontEnd: time 6.62e-07/0.005399, allocations: 4 kB / 28.31 MB, free: 3.535 MB / 18.57 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.005411, allocations: 0 / 28.31 MB, free: 3.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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0006516/0.006068, allocations: 0.6059 MB / 28.92 MB, free: 2.871 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.006106, allocations: 8.312 kB / 28.93 MB, free: 2.863 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.935e-05/0.006191, allocations: 44.47 kB / 28.97 MB, free: 2.82 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.006519, allocations: 303.6 kB / 29.27 MB, free: 2.484 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.006566, allocations: 41.36 kB / 29.31 MB, free: 2.445 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.546e-05/0.006638, allocations: 48.36 kB / 29.35 MB, free: 2.398 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009146/0.007559, allocations: 0.6369 MB / 29.99 MB, free: 1.742 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.007582, allocations: 192 / 29.99 MB, free: 1.742 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.165e-05/0.007631, allocations: 27.92 kB / 30.02 MB, free: 1.715 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.206e-05/0.007698, allocations: 40.97 kB / 30.06 MB, free: 1.676 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007483/0.008452, allocations: 451.7 kB / 30.5 MB, free: 1.234 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006617/0.01508, allocations: 1.499 MB / 32 MB, free: 6.906 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.01544, allocations: 244.8 kB / 32.24 MB, free: 6.883 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.01567, allocations: 183.8 kB / 32.42 MB, free: 6.875 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.01596, allocations: 0.5951 MB / 33.01 MB, free: 6.219 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.01599, allocations: 37.06 kB / 33.05 MB, free: 6.18 MB / 18.57 MB Notification: Performance of pre-optimization done (n=23): time 1.984e-06/0.016, allocations: 3.938 kB / 33.05 MB, free: 6.18 MB / 18.57 MB Notification: Performance of matching and sorting (n=23): time 0.0007862/0.01679, allocations: 0.5544 MB / 33.6 MB, free: 6.113 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.01684, allocations: 142.3 kB / 33.74 MB, free: 5.957 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.01698, allocations: 222.8 kB / 33.96 MB, free: 5.848 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.01701, allocations: 31.77 kB / 33.99 MB, free: 5.816 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.01709, allocations: 214.6 kB / 34.2 MB, free: 5.68 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.01714, allocations: 78.14 kB / 34.28 MB, free: 5.637 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/0.01716, allocations: 9.531 kB / 34.29 MB, free: 5.637 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 4.908e-05/0.01722, allocations: 325.3 kB / 34.61 MB, free: 5.324 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.01744, allocations: 167.7 kB / 34.77 MB, free: 5.316 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.01771, allocations: 250.1 kB / 35.01 MB, free: 5.184 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.01814, allocations: 409.3 kB / 35.41 MB, free: 4.914 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01815, allocations: 0 / 35.41 MB, free: 4.914 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006205/0.01877, allocations: 0.5395 MB / 35.95 MB, free: 4.41 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.01882, allocations: 49.62 kB / 36 MB, free: 4.355 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01883, allocations: 0 / 36 MB, free: 4.355 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.01886, allocations: 4.438 kB / 36.01 MB, free: 4.352 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.01902, allocations: 59.84 kB / 36.06 MB, free: 4.293 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.01904, allocations: 4 kB / 36.07 MB, free: 4.289 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.01918, allocations: 47.67 kB / 36.11 MB, free: 4.242 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.01922, allocations: 23.98 kB / 36.14 MB, free: 4.219 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.outTransition[1].arcType,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.arcType[1],T1.activation.emptied[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 (36): * Single equations (assignments): 33 * Array equations: 2 * 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.0001751/0.0194, allocations: 252.2 kB / 36.38 MB, free: 3.961 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.01945, allocations: 24.64 kB / 36.41 MB, free: 3.938 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000604/0.02006, allocations: 485 kB / 36.88 MB, free: 3.461 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.02008, allocations: 7.938 kB / 36.89 MB, free: 3.453 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.02009, allocations: 0 / 36.89 MB, free: 3.453 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.0201, allocations: 0 / 36.89 MB, free: 3.453 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008806/0.02098, allocations: 0.9311 MB / 37.82 MB, free: 2.469 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.021, allocations: 4 kB / 37.82 MB, free: 2.465 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.02113, allocations: 43.73 kB / 37.87 MB, free: 2.426 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.02115, allocations: 3.938 kB / 37.87 MB, free: 2.422 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.02117, allocations: 14.91 kB / 37.89 MB, free: 2.41 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.02118, allocations: 0 / 37.89 MB, free: 2.41 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.02118, allocations: 0 / 37.89 MB, free: 2.41 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007545/0.02194, allocations: 0.7326 MB / 38.62 MB, free: 1.656 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.02198, allocations: 96.83 kB / 38.71 MB, free: 1.543 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.02203, allocations: 17.42 kB / 38.73 MB, free: 1.527 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.02217, allocations: 32.05 kB / 38.76 MB, free: 1.496 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.02229, allocations: 64.95 kB / 38.82 MB, free: 1.434 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.02232, allocations: 12 kB / 38.84 MB, free: 1.422 MB / 18.57 MB Notification: Performance of sorting global known variables: time 7.337e-05/0.0224, allocations: 141.2 kB / 38.97 MB, free: 1.285 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.31e-07/0.0224, allocations: 0 / 38.97 MB, free: 1.285 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0003568/0.02276, allocations: 149 kB / 39.12 MB, free: 1.148 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: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P1.fireOut[1],P2.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 2 * 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.0002098/0.02298, allocations: 190 kB / 39.3 MB, free: 0.9727 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0005351/0.02352, allocations: 491.5 kB / 39.78 MB, free: 492 kB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02354, allocations: 0 / 39.78 MB, free: 492 kB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.0238, allocations: 275.7 kB / 40.05 MB, free: 204 kB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.02409, allocations: 36.23 kB / 40.09 MB, free: 168 kB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005963/0.03006, allocations: 0.9168 MB / 41.01 MB, free: 6.129 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.03028, allocations: 0.8489 MB / 41.86 MB, free: 5.43 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0001905/0.03047, allocations: 112 kB / 41.96 MB, free: 5.426 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.582e-05/0.03056, allocations: 46.66 kB / 42.01 MB, free: 5.418 MB / 18.57 MB Notification: Performance of SimCode: time 2.3e-07/0.03056, allocations: 0 / 42.01 MB, free: 5.418 MB / 18.57 MB Notification: Performance of Templates: time 0.005946/0.03652, allocations: 4.128 MB / 46.14 MB, free: 2.336 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test5.makefile (rm -f ConPNlib_ConPNlib.Examples.Test5.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test5.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test5.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test5.sim & ./ConPNlib_ConPNlib.Examples.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test5.pipe 2>&1)