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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 214.9 kB / 23.04 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8506/0.8506, allocations: 134 MB / 447.2 MB, free: 10.22 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 68.81 kB / 0.6193 GB, free: 7.191 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1655, allocations: 85.91 MB / 0.7032 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.003039/0.1686, allocations: 1.444 MB / 0.7046 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007579/0.1693, allocations: 263.8 kB / 0.7049 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.1694, allocations: 0 / 0.7049 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/0.1694, allocations: 0 / 0.7049 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.941e-05/0.1695, allocations: 7.938 kB / 0.7049 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000464/0.1699, allocations: 63.8 kB / 0.705 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.367e-05/0.17, allocations: 15.94 kB / 0.705 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1701, allocations: 15.98 kB / 0.705 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.214e-05/0.1701, allocations: 4 kB / 0.705 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.1702, allocations: 15.92 kB / 0.705 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.1702, allocations: 0 / 0.705 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.1704, allocations: 67.86 kB / 0.7051 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.1704, allocations: 8 kB / 0.7051 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.1704, allocations: 3.938 kB / 0.7051 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.1706, allocations: 56.08 kB / 0.7051 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1706, allocations: 3.938 kB / 0.7051 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1706, allocations: 0 / 0.7051 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.1706, allocations: 0 / 0.7051 GB, free: 15.39 MB / 0.5294 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.0005125/0.1711, allocations: 282.2 kB / 0.7054 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.1712, allocations: 8.031 kB / 0.7054 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.324e-05/0.1712, allocations: 192 / 0.7054 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.266e-05/0.1712, allocations: 30.75 kB / 0.7054 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.1713, allocations: 4.938 kB / 0.7054 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.1714, allocations: 118.4 kB / 0.7056 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1714, allocations: 384 / 0.7056 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.1714, allocations: 4.375 kB / 0.7056 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.1717, allocations: 57.98 kB / 0.7056 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1717, allocations: 0 / 0.7056 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1717, allocations: 0 / 0.7056 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1717, allocations: 0 / 0.7056 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.1719, allocations: 35.95 kB / 0.7057 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.1723, allocations: 216 kB / 0.7059 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.1725, allocations: 42.5 kB / 0.7059 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.1726, allocations: 20.89 kB / 0.7059 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007071/0.1733, allocations: 83.92 kB / 0.706 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.1733, allocations: 30.56 kB / 0.706 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.1733, allocations: 0 / 0.706 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004843/0.1738, allocations: 85.58 kB / 0.7061 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.1739, allocations: 51.41 kB / 0.7062 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.174, allocations: 106 kB / 0.7063 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.174, allocations: 29.64 kB / 0.7063 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/0.1741, allocations: 84.14 kB / 0.7064 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.1741, allocations: 7.953 kB / 0.7064 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.1741, allocations: 13.72 kB / 0.7064 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1743, allocations: 314.8 kB / 0.7067 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.1744, allocations: 15.98 kB / 0.7067 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.1745, allocations: 15.98 kB / 0.7067 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.1748, allocations: 44.75 kB / 0.7068 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1748, allocations: 0 / 0.7068 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002736/0.175, allocations: 73.56 kB / 0.7068 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.175, allocations: 4 kB / 0.7068 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1751, allocations: 96 / 0.7068 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1751, allocations: 4 kB / 0.7068 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1752, allocations: 11.98 kB / 0.7069 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1752, allocations: 0 / 0.7069 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.1753, allocations: 7.984 kB / 0.7069 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.1753, allocations: 0 / 0.7069 GB, free: 13.43 MB / 0.5294 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 0.0001049/0.1754, allocations: 117.7 kB / 0.707 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.1754, allocations: 0 / 0.707 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.1757, allocations: 72.97 kB / 0.707 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1757, allocations: 4 kB / 0.707 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1757, allocations: 0 / 0.707 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1757, allocations: 4.125 kB / 0.707 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.1758, allocations: 132.7 kB / 0.7072 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1758, allocations: 0 / 0.7072 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.1759, allocations: 15.97 kB / 0.7072 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1759, allocations: 0 / 0.7072 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1759, allocations: 0 / 0.7072 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1759, allocations: 8.031 kB / 0.7072 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1759, allocations: 0 / 0.7072 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.1762, allocations: 163.5 kB / 0.7074 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.1762, allocations: 7.891 kB / 0.7074 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.1762, allocations: 0 / 0.7074 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.1763, allocations: 12.02 kB / 0.7074 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.1763, allocations: 4 kB / 0.7074 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.1763, allocations: 0 / 0.7074 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.588e-05/0.1763, allocations: 87.22 kB / 0.7075 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1763, allocations: 0 / 0.7075 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002382/0.1766, allocations: 12 kB / 0.7075 GB, free: 12.73 MB / 0.5294 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.0007021/0.1773, allocations: 0.7162 MB / 0.7082 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.1775, allocations: 43.98 kB / 0.7082 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1775, allocations: 0 / 0.7082 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.403e-05/0.1776, allocations: 15.92 kB / 0.7082 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.1778, allocations: 11.98 kB / 0.7082 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.1783, allocations: 135.2 kB / 0.7084 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.1786, allocations: 0.6805 MB / 0.709 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.303e-05/0.1787, allocations: 4.125 kB / 0.709 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.1787, allocations: 15.44 kB / 0.7091 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/0.1787, allocations: 0 / 0.7091 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.1999, allocations: 1.653 MB / 0.7107 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.29, allocations: 6.125 kB / 0.7107 GB, free: 9.5 MB / 0.5294 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.924273316049948] Failed to read output from testmodel.py, exit status != 0: 11.449974086950533 11.479586352 11.303671756 Calling exit ...