Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.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.8473/0.8473, allocations: 134 MB / 436.6 MB, free: 13.79 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.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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.91 kB / 0.6052 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3681, allocations: 84.67 MB / 0.6878 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001564/0.3697, allocations: 0.5986 MB / 0.6884 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3711, allocations: 1.463 MB / 0.6899 GB, free: 196 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.093e-05/0.3711, allocations: 3.938 kB / 0.6899 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.3711, allocations: 7.938 kB / 0.6899 GB, free: 184 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.447e-05/0.3711, allocations: 0 / 0.6899 GB, free: 184 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.3715, allocations: 137.7 kB / 0.69 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.383e-05/0.3716, allocations: 27.91 kB / 0.69 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.3716, allocations: 9.125 kB / 0.69 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.651e-05/0.3717, allocations: 14.8 kB / 0.69 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.132e-05/0.3717, allocations: 29.33 kB / 0.6901 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.3718, allocations: 1.75 kB / 0.6901 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004472/0.3722, allocations: 315.9 kB / 0.6904 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.3722, allocations: 9.344 kB / 0.6904 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.3723, allocations: 15.14 kB / 0.6904 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.3725, allocations: 183 kB / 0.6906 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.3725, allocations: 3.938 kB / 0.6906 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3725, allocations: 0 / 0.6906 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3725, allocations: 0 / 0.6906 GB, free: 15.75 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005753/0.3731, allocations: 372.6 kB / 0.6909 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3732, allocations: 9.438 kB / 0.6909 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.3732, allocations: 35.83 kB / 0.691 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000441/0.3736, allocations: 71.5 kB / 0.691 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.3738, allocations: 165.5 kB / 0.6912 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.3738, allocations: 1.5 kB / 0.6912 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3738, allocations: 3 kB / 0.6912 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.3741, allocations: 77.05 kB / 0.6913 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3741, allocations: 0 / 0.6913 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3741, allocations: 0 / 0.6913 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.3741, allocations: 1.156 kB / 0.6913 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.3744, allocations: 70.02 kB / 0.6913 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.3746, allocations: 165.7 kB / 0.6915 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006041/0.3752, allocations: 118.5 kB / 0.6916 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.3753, allocations: 44.25 kB / 0.6917 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004419/0.3758, allocations: 151.1 kB / 0.6918 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.3758, allocations: 43.94 kB / 0.6918 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3758, allocations: 0 / 0.6918 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.001117/0.3769, allocations: 405.4 kB / 0.6922 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.377, allocations: 56.44 kB / 0.6923 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.06e-05/0.377, allocations: 97.06 kB / 0.6924 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.3771, allocations: 25.7 kB / 0.6924 GB, free: 14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.3771, allocations: 85.2 kB / 0.6925 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.3771, allocations: 21.08 kB / 0.6925 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/0.3772, allocations: 28.23 kB / 0.6925 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3773, allocations: 312.1 kB / 0.6928 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.3775, allocations: 32.97 kB / 0.6929 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.3776, allocations: 42.14 kB / 0.6929 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.3779, allocations: 74.66 kB / 0.693 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3779, allocations: 1.375 kB / 0.693 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003376/0.3782, allocations: 112.5 kB / 0.6931 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3782, allocations: 9.5 kB / 0.6931 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3782, allocations: 3.938 kB / 0.6931 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3782, allocations: 1.031 kB / 0.6931 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.3784, allocations: 27.69 kB / 0.6931 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3784, allocations: 1.219 kB / 0.6931 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.61e-05/0.3785, allocations: 15.83 kB / 0.6931 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.3785, allocations: 1.281 kB / 0.6931 GB, free: 13.39 MB / 0.5137 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 (6): * Single equations (assignments): 6 * 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.061e-05/0.3786, allocations: 107.3 kB / 0.6932 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.3786, allocations: 6.25 kB / 0.6932 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/0.379, allocations: 142.2 kB / 0.6934 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3791, allocations: 0 / 0.6934 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3791, allocations: 1.031 kB / 0.6934 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3791, allocations: 3.984 kB / 0.6934 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.3792, allocations: 171.1 kB / 0.6936 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3792, allocations: 5.094 kB / 0.6936 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.3794, allocations: 24.59 kB / 0.6936 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3794, allocations: 0 / 0.6936 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.3794, allocations: 9.531 kB / 0.6936 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3794, allocations: 5.125 kB / 0.6936 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3794, allocations: 0 / 0.6936 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005379/0.3799, allocations: 180.4 kB / 0.6938 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-05/0.38, allocations: 86.91 kB / 0.6938 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.38, allocations: 5.125 kB / 0.6939 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.3801, allocations: 19.48 kB / 0.6939 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.977e-05/0.3802, allocations: 3.406 kB / 0.6939 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.3802, allocations: 6.266 kB / 0.6939 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.943e-05/0.3802, allocations: 76.44 kB / 0.694 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.3802, allocations: 1.219 kB / 0.694 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002219/0.3804, allocations: 31.78 kB / 0.694 GB, free: 12.61 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.000954/0.3814, allocations: 0.7521 MB / 0.6947 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003623/0.3818, allocations: 86.52 kB / 0.6948 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3818, allocations: 0 / 0.6948 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.3819, allocations: 38.19 kB / 0.6948 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.3821, allocations: 6.828 kB / 0.6948 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.3841, allocations: 1.367 MB / 0.6962 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.3844, allocations: 0.6795 MB / 0.6968 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.913e-05/0.3845, allocations: 22.84 kB / 0.6969 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.3845, allocations: 11.66 kB / 0.6969 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.3845, allocations: 0 / 0.6969 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.4094, allocations: 2.072 MB / 0.6989 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/8.512, allocations: 11.83 kB / 0.6989 GB, free: 8.832 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.819833883084357] Failed to read output from testmodel.py, exit status != 0: 8.598557598888874 8.619785558 8.243269457 Calling exit ...