Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 103 kB / 16.4 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 192 kB / 17.34 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8478/0.8478, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 75.95 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1524, allocations: 80.2 MB / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002523/0.155, allocations: 1.42 MB / 0.6617 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006018/0.1556, allocations: 268.3 kB / 0.662 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.1556, allocations: 0 / 0.662 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.1556, allocations: 0 / 0.662 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.316e-05/0.1557, allocations: 3.938 kB / 0.662 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.156, allocations: 63.81 kB / 0.662 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.313e-05/0.1561, allocations: 15.98 kB / 0.6621 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.266e-05/0.1562, allocations: 15.92 kB / 0.6621 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.989e-05/0.1562, allocations: 7.938 kB / 0.6621 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.72e-05/0.1562, allocations: 11.92 kB / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1563, allocations: 7.938 kB / 0.6621 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.1564, allocations: 63.94 kB / 0.6622 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.1564, allocations: 7.984 kB / 0.6622 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.1564, allocations: 7.938 kB / 0.6622 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.1566, allocations: 51.81 kB / 0.6622 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1566, allocations: 0 / 0.6622 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.128e-06/0.1566, allocations: 3.984 kB / 0.6622 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.1566, allocations: 0 / 0.6622 GB, free: 8.285 MB / 0.4981 GB 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.0005204/0.1571, allocations: 343.4 kB / 0.6626 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1572, allocations: 8.031 kB / 0.6626 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.1572, allocations: 12.94 kB / 0.6626 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.1573, allocations: 172.2 kB / 0.6627 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1574, allocations: 384 / 0.6627 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.1574, allocations: 4.375 kB / 0.6627 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.1576, allocations: 50.23 kB / 0.6628 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1576, allocations: 192 / 0.6628 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1576, allocations: 3.938 kB / 0.6628 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1576, allocations: 0 / 0.6628 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.1578, allocations: 39.89 kB / 0.6628 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.1581, allocations: 244.9 kB / 0.6631 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.1583, allocations: 38.5 kB / 0.6631 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.897e-05/0.1584, allocations: 28.89 kB / 0.6631 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007747/0.1591, allocations: 457.5 kB / 0.6636 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.1592, allocations: 34.56 kB / 0.6636 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.1592, allocations: 0 / 0.6636 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004024/0.1596, allocations: 89.56 kB / 0.6637 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.1596, allocations: 51.41 kB / 0.6637 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.44e-05/0.1597, allocations: 101.9 kB / 0.6638 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1597, allocations: 25.7 kB / 0.6639 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.1598, allocations: 80.14 kB / 0.6639 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.1598, allocations: 11.94 kB / 0.6639 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.1598, allocations: 13.72 kB / 0.664 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.16, allocations: 315 kB / 0.6643 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.91e-05/0.1601, allocations: 15.98 kB / 0.6643 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.88e-05/0.1602, allocations: 15.98 kB / 0.6643 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.1603, allocations: 40.75 kB / 0.6643 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1603, allocations: 0 / 0.6643 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002085/0.1605, allocations: 77.66 kB / 0.6644 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1606, allocations: 4 kB / 0.6644 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1606, allocations: 4 kB / 0.6644 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1606, allocations: 0 / 0.6644 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.851e-05/0.1607, allocations: 7.938 kB / 0.6644 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.1607, allocations: 7.969 kB / 0.6644 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/0.1607, allocations: 4 kB / 0.6644 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.1607, allocations: 32 / 0.6644 GB, free: 5.711 MB / 0.4981 GB 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 9.097e-05/0.1608, allocations: 117.8 kB / 0.6645 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.1608, allocations: 3.953 kB / 0.6645 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.1611, allocations: 84.64 kB / 0.6646 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1611, allocations: 0 / 0.6646 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1611, allocations: 0 / 0.6646 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1611, allocations: 0 / 0.6646 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.1613, allocations: 157.6 kB / 0.6648 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1613, allocations: 4 kB / 0.6648 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.05e-05/0.1613, allocations: 11.98 kB / 0.6648 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.1613, allocations: 0 / 0.6648 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1614, allocations: 4 kB / 0.6648 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1614, allocations: 0 / 0.6648 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1614, allocations: 0 / 0.6648 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.1616, allocations: 171.4 kB / 0.665 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.1617, allocations: 77.11 kB / 0.665 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.1617, allocations: 0 / 0.665 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.1618, allocations: 7.984 kB / 0.665 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.1618, allocations: 4 kB / 0.665 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.1618, allocations: 0 / 0.665 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.665e-05/0.1618, allocations: 87.27 kB / 0.6651 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.1618, allocations: 0 / 0.6651 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002441/0.1621, allocations: 15.94 kB / 0.6651 GB, free: 4.875 MB / 0.4981 GB 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.000198/0.1623, allocations: 119.2 kB / 0.6653 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002418/0.1625, allocations: 35.97 kB / 0.6653 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.1625, allocations: 4.062 kB / 0.6653 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.315e-05/0.1626, allocations: 23.92 kB / 0.6653 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.1629, allocations: 11.92 kB / 0.6653 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.1632, allocations: 93.47 kB / 0.6654 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.1635, allocations: 0.6768 MB / 0.6661 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.03e-05/0.1635, allocations: 0 / 0.6661 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.1635, allocations: 11.44 kB / 0.6661 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1635, allocations: 4.062 kB / 0.6661 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of Templates: time 0.003209/0.1667, allocations: 0.6617 MB / 0.6667 GB, free: 3.184 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)