Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1") translateModel(IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 174.8 kB / 16.08 MB, free: 5.734 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4632/0.4632, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 225.7 MB / 353.3 MB, free: 1.098 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007455/0.0007453, allocations: 89.61 kB / 425.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.0002861, allocations: 8 kB / 0.4955 GB, free: 4.539 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2588, allocations: 71.33 MB / 0.5652 GB, free: 42.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.001179/0.26, allocations: 1.14 MB / 0.5663 GB, free: 41.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004264/0.2605, allocations: 330.1 kB / 0.5666 GB, free: 40.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.842e-05/0.2605, allocations: 0 / 0.5666 GB, free: 40.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.204e-05/0.2605, allocations: 1.5 kB / 0.5666 GB, free: 40.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.376e-05/0.2606, allocations: 0 / 0.5666 GB, free: 40.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.2608, allocations: 51.88 kB / 0.5667 GB, free: 40.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.894e-05/0.2609, allocations: 16.5 kB / 0.5667 GB, free: 40.81 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.447e-05/0.261, allocations: 13.83 kB / 0.5667 GB, free: 40.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.154e-05/0.261, allocations: 3.938 kB / 0.5667 GB, free: 40.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.158e-05/0.261, allocations: 7.984 kB / 0.5667 GB, free: 40.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.045e-06/0.261, allocations: 0 / 0.5667 GB, free: 40.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.2612, allocations: 69.02 kB / 0.5668 GB, free: 40.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.2612, allocations: 11.91 kB / 0.5668 GB, free: 40.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.2612, allocations: 29.7 kB / 0.5668 GB, free: 40.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.2613, allocations: 48.77 kB / 0.5669 GB, free: 40.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2613, allocations: 7.984 kB / 0.5669 GB, free: 40.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2613, allocations: 4.688 kB / 0.5669 GB, free: 40.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.016e-06/0.2614, allocations: 0 / 0.5669 GB, free: 40.61 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003395/0.2617, allocations: 347.6 kB / 0.5672 GB, free: 40.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.2617, allocations: 8.031 kB / 0.5672 GB, free: 40.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.191e-05/0.2618, allocations: 1.781 kB / 0.5672 GB, free: 40.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.605e-05/0.2618, allocations: 164.4 kB / 0.5674 GB, free: 40.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.2619, allocations: 2.125 kB / 0.5674 GB, free: 40.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.2619, allocations: 4.312 kB / 0.5674 GB, free: 40.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.262, allocations: 62.23 kB / 0.5674 GB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.262, allocations: 192 / 0.5674 GB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.2621, allocations: 3.938 kB / 0.5674 GB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.2621, allocations: 7.938 kB / 0.5675 GB, free: 39.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.2622, allocations: 43.95 kB / 0.5675 GB, free: 39.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/0.2624, allocations: 256.8 kB / 0.5677 GB, free: 39.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.2625, allocations: 42.5 kB / 0.5678 GB, free: 39.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.303e-05/0.2626, allocations: 32.89 kB / 0.5678 GB, free: 39.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000476/0.2631, allocations: 457.5 kB / 0.5683 GB, free: 38.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.2631, allocations: 30.56 kB / 0.5683 GB, free: 38.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2631, allocations: 4 kB / 0.5683 GB, free: 38.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002891/0.2634, allocations: 101.6 kB / 0.5684 GB, free: 38.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.2635, allocations: 51.41 kB / 0.5684 GB, free: 38.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.797e-05/0.2635, allocations: 102 kB / 0.5685 GB, free: 38.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.2635, allocations: 25.7 kB / 0.5686 GB, free: 38.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.972e-05/0.2635, allocations: 92.08 kB / 0.5686 GB, free: 38.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.145e-05/0.2636, allocations: 3.906 kB / 0.5686 GB, free: 38.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.2636, allocations: 0 / 0.5686 GB, free: 38.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.457e-05/0.2636, allocations: 314.8 kB / 0.5689 GB, free: 38.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.815e-05/0.2637, allocations: 27.98 kB / 0.569 GB, free: 38.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.838e-05/0.2638, allocations: 15.98 kB / 0.569 GB, free: 38.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.2639, allocations: 56.88 kB / 0.569 GB, free: 38.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2639, allocations: 0 / 0.569 GB, free: 38.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001469/0.264, allocations: 77.55 kB / 0.5691 GB, free: 38.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.2641, allocations: 8 kB / 0.5691 GB, free: 38.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2641, allocations: 0 / 0.5691 GB, free: 38.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.2641, allocations: 4.031 kB / 0.5691 GB, free: 38.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.033e-05/0.2642, allocations: 11.98 kB / 0.5691 GB, free: 38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.2642, allocations: 0 / 0.5691 GB, free: 38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.196e-05/0.2642, allocations: 15.98 kB / 0.5692 GB, free: 37.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.2642, allocations: 0 / 0.5692 GB, free: 37.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 3.929e-05/0.2643, allocations: 109.8 kB / 0.5693 GB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.2643, allocations: 4 kB / 0.5693 GB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.2645, allocations: 88.72 kB / 0.5693 GB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2645, allocations: 0 / 0.5693 GB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2645, allocations: 0 / 0.5693 GB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2645, allocations: 3.984 kB / 0.5693 GB, free: 37.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.487e-05/0.2646, allocations: 161.5 kB / 0.5695 GB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2646, allocations: 4.031 kB / 0.5695 GB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.089e-05/0.2647, allocations: 15.92 kB / 0.5695 GB, free: 37.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.2647, allocations: 0 / 0.5695 GB, free: 37.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.2647, allocations: 3.938 kB / 0.5695 GB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2647, allocations: 4 kB / 0.5695 GB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2647, allocations: 0 / 0.5695 GB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.2649, allocations: 175.5 kB / 0.5697 GB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.293e-05/0.2649, allocations: 81.05 kB / 0.5698 GB, free: 37.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.2649, allocations: 0 / 0.5698 GB, free: 37.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.497e-05/0.265, allocations: 11.98 kB / 0.5698 GB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.265, allocations: 4.031 kB / 0.5698 GB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.265, allocations: 0 / 0.5698 GB, free: 37.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.796e-05/0.265, allocations: 83.28 kB / 0.5699 GB, free: 37.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.265, allocations: 0 / 0.5699 GB, free: 37.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001934/0.2652, allocations: 23.98 kB / 0.5699 GB, free: 37.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001353/0.2654, allocations: 116.9 kB / 0.57 GB, free: 37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.2656, allocations: 47.95 kB / 0.57 GB, free: 36.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2656, allocations: 0 / 0.57 GB, free: 36.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.025e-05/0.2657, allocations: 28.05 kB / 0.5701 GB, free: 36.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.2659, allocations: 7.844 kB / 0.5701 GB, free: 36.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001898/0.2661, allocations: 114.4 kB / 0.5702 GB, free: 36.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.56e-05/0.2661, allocations: 0.677 MB / 0.5709 GB, free: 36.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.866e-05/0.2662, allocations: 0 / 0.5709 GB, free: 36.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.476e-05/0.2662, allocations: 11.44 kB / 0.5709 GB, free: 36.06 MB / 410.7 MB Notification: Performance of SimCode: time 2.01e-07/0.2662, allocations: 4.062 kB / 0.5709 GB, free: 36.05 MB / 410.7 MB Notification: Performance of Templates: time 0.002042/0.2682, allocations: 0.58 MB / 0.5714 GB, free: 35.48 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)