Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test1b.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.Test1b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test1b") translateModel(ConPNlib.Examples.Test1b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test1b") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005463/0.005463, allocations: 1.402 MB / 16.66 MB, free: 4.758 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.603e-05/1.593e-05, allocations: 0 / 23.71 MB, free: 3.625 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006961/0.0007334, allocations: 365 kB / 24.06 MB, free: 3.301 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1b): time 0.0006766/0.001423, allocations: 392.4 kB / 24.45 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0005145/0.001955, allocations: 325.6 kB / 24.76 MB, free: 2.57 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.331e-05/0.002052, allocations: 7.938 kB / 24.77 MB, free: 2.562 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.002207, allocations: 25.05 kB / 24.8 MB, free: 2.539 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.002478, allocations: 43.84 kB / 24.84 MB, free: 2.496 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 5.512e-05/0.002543, allocations: 19.98 kB / 24.86 MB, free: 2.477 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.002673, allocations: 108.3 kB / 24.96 MB, free: 2.371 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 6.571e-05/0.002746, allocations: 13.25 kB / 24.98 MB, free: 2.359 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 6.267e-05/0.002816, allocations: 41.91 kB / 25.02 MB, free: 2.32 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.002886, allocations: 31.78 kB / 25.05 MB, free: 2.289 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 9.338e-06/0.002902, allocations: 0 / 25.05 MB, free: 2.289 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 7.91e-05/0.002986, allocations: 19.98 kB / 25.07 MB, free: 2.27 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 2.752e-05/0.003021, allocations: 11.97 kB / 25.08 MB, free: 2.258 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.003061, allocations: 40.98 kB / 25.12 MB, free: 2.215 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.003174, allocations: 47.81 kB / 25.17 MB, free: 2.168 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.003184, allocations: 3.938 kB / 25.17 MB, free: 2.164 MB / 13.93 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003189, allocations: 0 / 25.17 MB, free: 2.164 MB / 13.93 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.003198, allocations: 4 kB / 25.17 MB, free: 2.16 MB / 13.93 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000322/0.003525, allocations: 357.2 kB / 25.52 MB, free: 1.754 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.003569, allocations: 12.31 kB / 25.53 MB, free: 1.742 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.003609, allocations: 4.844 kB / 25.54 MB, free: 1.738 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.00375, allocations: 180.4 kB / 25.72 MB, free: 1.523 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.003773, allocations: 384 / 25.72 MB, free: 1.523 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.003795, allocations: 1.219 kB / 25.72 MB, free: 1.523 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.003922, allocations: 56.05 kB / 25.77 MB, free: 1.465 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.003939, allocations: 192 / 25.77 MB, free: 1.465 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.003957, allocations: 3.938 kB / 25.78 MB, free: 1.461 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.003967, allocations: 0 / 25.78 MB, free: 1.461 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.652e-05/0.004028, allocations: 23.92 kB / 25.8 MB, free: 1.438 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.004501, allocations: 386.1 kB / 26.18 MB, free: 0.9922 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 4.136e-05/0.004554, allocations: 18.58 kB / 26.19 MB, free: 0.9648 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.004579, allocations: 12.92 kB / 26.21 MB, free: 0.9492 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-06/0.004592, allocations: 3.938 kB / 26.21 MB, free: 0.9453 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.004612, allocations: 34.5 kB / 26.24 MB, free: 0.9023 MB / 13.93 MB Notification: Performance of pre-optimization done (n=2): time 1.093e-06/0.004619, allocations: 3.938 kB / 26.25 MB, free: 0.8984 MB / 13.93 MB Notification: Performance of matching and sorting (n=2): time 0.0001621/0.004786, allocations: 71.48 kB / 26.32 MB, free: 0.8164 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.004826, allocations: 85.14 kB / 26.4 MB, free: 0.7148 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.565e-05/0.004897, allocations: 110.5 kB / 26.51 MB, free: 0.5977 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.004911, allocations: 25.7 kB / 26.53 MB, free: 0.5664 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.004948, allocations: 95.94 kB / 26.63 MB, free: 480 kB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 6.692e-06/0.00496, allocations: 4 kB / 26.63 MB, free: 476 kB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.004969, allocations: 0 / 26.63 MB, free: 476 kB / 13.93 MB Notification: Performance of setup shared object (initialization): time 4.682e-05/0.005021, allocations: 318.8 kB / 26.94 MB, free: 148 kB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.005047, allocations: 8 kB / 26.95 MB, free: 140 kB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.598e-05/0.005079, allocations: 25.7 kB / 26.98 MB, free: 108 kB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.068e-05/0.005135, allocations: 86.64 kB / 27.06 MB, free: 4 kB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005143, allocations: 0 / 27.06 MB, free: 4 kB / 13.93 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001401/0.005288, allocations: 91.31 kB / 27.15 MB, free: 4.543 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.005328, allocations: 29.7 kB / 27.18 MB, free: 4.508 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.00534, allocations: 4 kB / 27.18 MB, free: 4.504 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.005356, allocations: 0 / 27.18 MB, free: 4.504 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.698e-05/0.00543, allocations: 12.14 kB / 27.19 MB, free: 4.492 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.005445, allocations: 4.312 kB / 27.2 MB, free: 4.488 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/0.005485, allocations: 4 kB / 27.2 MB, free: 4.484 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.005504, allocations: 7.984 kB / 27.21 MB, free: 4.477 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (T1.activation.active) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * 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 9.727e-05/0.005606, allocations: 148.2 kB / 27.36 MB, free: 4.316 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.005637, allocations: 3.906 kB / 27.36 MB, free: 4.312 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.279e-05/0.005665, allocations: 7.891 kB / 27.37 MB, free: 4.297 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.005673, allocations: 0 / 27.37 MB, free: 4.297 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.00568, allocations: 0 / 27.37 MB, free: 4.297 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.005691, allocations: 8.031 kB / 27.37 MB, free: 4.289 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.005863, allocations: 169.5 kB / 27.54 MB, free: 4.078 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.005872, allocations: 0 / 27.54 MB, free: 4.078 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.179e-05/0.005939, allocations: 4 kB / 27.54 MB, free: 4.074 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.005952, allocations: 0 / 27.54 MB, free: 4.074 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.005969, allocations: 0 / 27.54 MB, free: 4.074 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.005977, allocations: 7.922 kB / 27.55 MB, free: 4.066 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.005982, allocations: 0 / 27.55 MB, free: 4.066 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.006128, allocations: 173.2 kB / 27.72 MB, free: 3.875 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/0.006184, allocations: 77.11 kB / 27.8 MB, free: 3.781 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.006208, allocations: 11.94 kB / 27.81 MB, free: 3.77 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.922e-05/0.006263, allocations: 0 / 27.81 MB, free: 3.77 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.006286, allocations: 0 / 27.81 MB, free: 3.77 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.006296, allocations: 3.984 kB / 27.81 MB, free: 3.766 MB / 18.57 MB Notification: Performance of sorting global known variables: time 4.994e-05/0.006352, allocations: 91.22 kB / 27.9 MB, free: 3.676 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.11e-07/0.006357, allocations: 0 / 27.9 MB, free: 3.676 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.000329/0.006691, allocations: 15.91 kB / 27.92 MB, free: 3.66 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (T1.activation.active) * Number of discrete states: 1 (T1.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * 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.0001451/0.006842, allocations: 107.9 kB / 28.02 MB, free: 3.547 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.006983, allocations: 83.33 kB / 28.1 MB, free: 3.453 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.006993, allocations: 0 / 28.1 MB, free: 3.453 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 3.953e-05/0.007038, allocations: 55.41 kB / 28.16 MB, free: 3.387 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.007252, allocations: 9.484 kB / 28.17 MB, free: 3.379 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.007625, allocations: 153.5 kB / 28.32 MB, free: 3.203 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.00794, allocations: 0.6848 MB / 29 MB, free: 2.492 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.008053, allocations: 35.89 kB / 29.04 MB, free: 2.457 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.008094, allocations: 19.42 kB / 29.06 MB, free: 2.438 MB / 18.57 MB Notification: Performance of SimCode: time 2.31e-07/0.0081, allocations: 0 / 29.06 MB, free: 2.438 MB / 18.57 MB Notification: Performance of Templates: time 0.002457/0.01056, allocations: 480.1 kB / 29.52 MB, free: 1.969 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test1b.makefile (rm -f ConPNlib_ConPNlib.Examples.Test1b.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test1b.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test1b.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test1b.sim & ./ConPNlib_ConPNlib.Examples.Test1b -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test1b.pipe 2>&1)