Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7876/0.7876, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 221.3 MB / 400.4 MB, free: 5.863 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008677/0.0008674, allocations: 97.48 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.728e-05/3.732e-05, allocations: 4.938 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1849, allocations: 82.31 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6201/0.805, allocations: 112 MB / 0.7499 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.8054, allocations: 86.47 kB / 0.75 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01206/0.8175, allocations: 4.104 MB / 0.754 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8175, allocations: 7.938 kB / 0.754 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.8175, allocations: 0 / 0.754 GB, free: 27.68 MB / 0.5105 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.000442/0.818, allocations: 369.7 kB / 0.7543 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.35e-05/0.818, allocations: 11.56 kB / 0.7543 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.705e-05/0.8181, allocations: 30.56 kB / 0.7544 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000359/0.8185, allocations: 64.83 kB / 0.7544 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.8186, allocations: 170.8 kB / 0.7546 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.8186, allocations: 0 / 0.7546 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.8187, allocations: 3.5 kB / 0.7546 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.8188, allocations: 62.14 kB / 0.7547 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.8188, allocations: 0 / 0.7547 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.8188, allocations: 3.906 kB / 0.7547 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.8189, allocations: 0 / 0.7547 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.957e-05/0.8189, allocations: 18.05 kB / 0.7547 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.8191, allocations: 170.9 kB / 0.7548 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.8194, allocations: 55.39 kB / 0.7549 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.564e-05/0.8194, allocations: 23.98 kB / 0.7549 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.533e-05/0.8195, allocations: 7.562 kB / 0.7549 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.8195, allocations: 37.66 kB / 0.755 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.8195, allocations: 0 / 0.755 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0005553/0.8201, allocations: 275.1 kB / 0.7552 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.8201, allocations: 55.41 kB / 0.7553 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.611e-05/0.8202, allocations: 91.92 kB / 0.7554 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.8202, allocations: 29.27 kB / 0.7554 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/0.8203, allocations: 80.14 kB / 0.7555 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.8203, allocations: 19.34 kB / 0.7555 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.8203, allocations: 0 / 0.7555 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.8205, allocations: 317.9 kB / 0.7558 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.694e-05/0.8205, allocations: 14.72 kB / 0.7558 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.06e-05/0.8205, allocations: 11.03 kB / 0.7558 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.918e-05/0.8206, allocations: 18.98 kB / 0.7558 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.8206, allocations: 0 / 0.7558 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001246/0.8207, allocations: 73.31 kB / 0.7559 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.8207, allocations: 3.844 kB / 0.7559 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.8208, allocations: 0 / 0.7559 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.8208, allocations: 7.656 kB / 0.7559 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.8209, allocations: 25.42 kB / 0.7559 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.8209, allocations: 4 kB / 0.7559 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.76e-05/0.821, allocations: 14.78 kB / 0.756 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.8211, allocations: 3.812 kB / 0.756 GB, free: 25.85 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.609e-05/0.8211, allocations: 108.1 kB / 0.7561 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.8212, allocations: 3.812 kB / 0.7561 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.8214, allocations: 96.52 kB / 0.7562 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.8214, allocations: 320 / 0.7562 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.8214, allocations: 0 / 0.7562 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.8214, allocations: 0 / 0.7562 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.8216, allocations: 179.1 kB / 0.7563 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.8216, allocations: 0 / 0.7563 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.8217, allocations: 26.12 kB / 0.7564 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.8217, allocations: 0 / 0.7564 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.8218, allocations: 0 / 0.7564 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.8218, allocations: 3.906 kB / 0.7564 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.8218, allocations: 2.062 kB / 0.7564 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.822, allocations: 122.8 kB / 0.7565 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/0.8221, allocations: 91.72 kB / 0.7566 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.8221, allocations: 3.688 kB / 0.7566 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.8223, allocations: 16.64 kB / 0.7566 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.8223, allocations: 10.03 kB / 0.7566 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.8223, allocations: 4.062 kB / 0.7566 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.118e-05/0.8224, allocations: 79.12 kB / 0.7567 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8224, allocations: 0 / 0.7567 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002466/0.8226, allocations: 45.52 kB / 0.7567 GB, free: 25.21 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000621/0.8232, allocations: 0.6949 MB / 0.7574 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.8234, allocations: 41.75 kB / 0.7574 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8234, allocations: 0 / 0.7574 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.168e-05/0.8234, allocations: 25.03 kB / 0.7575 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001082/0.8235, allocations: 3.875 kB / 0.7575 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005633/0.8241, allocations: 185.3 kB / 0.7576 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.8244, allocations: 0.6818 MB / 0.7583 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.8245, allocations: 15.69 kB / 0.7583 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.8246, allocations: 17.62 kB / 0.7583 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of SimCode: time 3.61e-07/0.8246, allocations: 0 / 0.7583 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01179/0.8364, allocations: 1.803 MB / 0.7601 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/0.8366, allocations: 159.4 kB / 0.7603 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/2.359, allocations: 6.344 kB / 0.7603 GB, free: 22.84 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)