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) 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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004865/0.004865, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.0013/0.0013, allocations: 196.8 kB / 16.68 MB, free: 6.352 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.855/0.855, allocations: 132.2 MB / 422.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.89 kB / 0.5809 GB, free: 7.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.382, allocations: 80.21 MB / 0.6592 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001522/0.3836, allocations: 0.5887 MB / 0.6598 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.3852, allocations: 1.448 MB / 0.6612 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.338e-05/0.3852, allocations: 0 / 0.6612 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.3852, allocations: 3.938 kB / 0.6612 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.105e-05/0.3853, allocations: 1.375 kB / 0.6612 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.3858, allocations: 148.4 kB / 0.6614 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.338e-05/0.3858, allocations: 29.2 kB / 0.6614 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.509e-05/0.3859, allocations: 3.234 kB / 0.6614 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.181e-05/0.3859, allocations: 16.97 kB / 0.6614 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.039e-05/0.386, allocations: 26.58 kB / 0.6614 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.3861, allocations: 2.625 kB / 0.6614 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005092/0.3866, allocations: 322.7 kB / 0.6618 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.3866, allocations: 9.391 kB / 0.6618 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.3867, allocations: 14.69 kB / 0.6618 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.387, allocations: 184.2 kB / 0.662 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.387, allocations: 0 / 0.662 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.387, allocations: 1.031 kB / 0.662 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.387, allocations: 0 / 0.662 GB, free: 8.445 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005153/0.3875, allocations: 371.3 kB / 0.6623 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3876, allocations: 13.62 kB / 0.6623 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.776e-05/0.3876, allocations: 40.8 kB / 0.6624 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004835/0.3881, allocations: 70.14 kB / 0.6624 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.692e-05/0.3882, allocations: 166.3 kB / 0.6626 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.3882, allocations: 1.656 kB / 0.6626 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.3883, allocations: 2.344 kB / 0.6626 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.3885, allocations: 75.38 kB / 0.6627 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3885, allocations: 5.375 kB / 0.6627 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3885, allocations: 0.6094 kB / 0.6627 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3886, allocations: 0 / 0.6627 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/0.3889, allocations: 68.58 kB / 0.6627 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001366/0.389, allocations: 165 kB / 0.6629 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005738/0.3896, allocations: 119.8 kB / 0.663 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.3898, allocations: 43.61 kB / 0.663 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004224/0.3902, allocations: 154.7 kB / 0.6632 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.3902, allocations: 35.84 kB / 0.6632 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.3902, allocations: 0 / 0.6632 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001131/0.3914, allocations: 410.5 kB / 0.6636 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.3914, allocations: 56.75 kB / 0.6637 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.016e-05/0.3914, allocations: 92.27 kB / 0.6638 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.3915, allocations: 29.64 kB / 0.6638 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.284e-05/0.3915, allocations: 85.31 kB / 0.6639 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.3915, allocations: 25.09 kB / 0.6639 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/0.3916, allocations: 20.38 kB / 0.6639 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.476e-05/0.3916, allocations: 316 kB / 0.6642 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.3918, allocations: 37.12 kB / 0.6643 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.3919, allocations: 33.28 kB / 0.6643 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.3922, allocations: 79.39 kB / 0.6644 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3922, allocations: 1.094 kB / 0.6644 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003458/0.3926, allocations: 112.5 kB / 0.6645 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3926, allocations: 5.219 kB / 0.6645 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3926, allocations: 1.375 kB / 0.6645 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3927, allocations: 0 / 0.6645 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.3928, allocations: 32 kB / 0.6645 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3928, allocations: 5 kB / 0.6645 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.3929, allocations: 23.8 kB / 0.6645 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.3929, allocations: 1.5 kB / 0.6645 GB, free: 6.152 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 (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 4.717e-05/0.393, allocations: 107.4 kB / 0.6646 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.393, allocations: 10.16 kB / 0.6646 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004236/0.3934, allocations: 129.3 kB / 0.6648 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3935, allocations: 1.312 kB / 0.6648 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3935, allocations: 0 / 0.6648 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3935, allocations: 5.25 kB / 0.6648 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.887e-05/0.3936, allocations: 170 kB / 0.6649 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3936, allocations: 9.562 kB / 0.6649 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.3937, allocations: 23.25 kB / 0.665 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3937, allocations: 1.188 kB / 0.665 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3938, allocations: 0.7812 kB / 0.665 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3938, allocations: 1.281 kB / 0.665 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3938, allocations: 0 / 0.665 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/0.3943, allocations: 184.4 kB / 0.6651 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.3944, allocations: 86.59 kB / 0.6652 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.3944, allocations: 1.312 kB / 0.6652 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.3945, allocations: 19.97 kB / 0.6653 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.3946, allocations: 3.125 kB / 0.6653 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.3946, allocations: 6.594 kB / 0.6653 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.16e-05/0.3946, allocations: 80.91 kB / 0.6653 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3946, allocations: 0 / 0.6653 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002506/0.3949, allocations: 32.55 kB / 0.6654 GB, free: 5.387 MB / 0.4981 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.0007632/0.3956, allocations: 0.7435 MB / 0.6661 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003744/0.396, allocations: 96.05 kB / 0.6662 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.396, allocations: 0 / 0.6662 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.3962, allocations: 48.45 kB / 0.6662 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.3964, allocations: 1.156 kB / 0.6662 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.3981, allocations: 1.365 MB / 0.6676 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.001e-05/0.3982, allocations: 0.6754 MB / 0.6682 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.192e-05/0.3983, allocations: 22.64 kB / 0.6682 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.299e-05/0.3983, allocations: 11.78 kB / 0.6683 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.3983, allocations: 0 / 0.6683 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.4223, allocations: 2.058 MB / 0.6703 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.49/8.913, allocations: 6.938 kB / 0.6703 GB, free: 1.609 MB / 0.4981 GB (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 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)