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/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.0007534/0.0007534, allocations: 119 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008568/0.0008568, allocations: 207.8 kB / 23 MB, free: 3.125 MB / 13.93 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 0.8481/0.8481, allocations: 230.6 MB / 256.8 MB, free: 3.488 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7408/0.7408, allocations: 203.8 MB / 0.5049 GB, free: 0.7656 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [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.0008754/0.0008754, allocations: 67.89 kB / 0.7195 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4235, allocations: 102 MB / 0.8191 GB, free: 25.28 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001337/0.4248, allocations: 0.6136 MB / 0.8197 GB, free: 24.91 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.4261, allocations: 1.515 MB / 0.8212 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.4262, allocations: 1.125 kB / 0.8212 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.4262, allocations: 0 / 0.8212 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.108e-05/0.4262, allocations: 4.969 kB / 0.8212 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004275/0.4266, allocations: 139.6 kB / 0.8213 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.033e-05/0.4267, allocations: 36.14 kB / 0.8214 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.4268, allocations: 1.609 kB / 0.8214 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.661e-05/0.4268, allocations: 18.14 kB / 0.8214 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.824e-05/0.4269, allocations: 23.52 kB / 0.8214 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.4269, allocations: 2.344 kB / 0.8214 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003715/0.4273, allocations: 320.7 kB / 0.8217 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.4273, allocations: 6.016 kB / 0.8217 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.4273, allocations: 14.89 kB / 0.8217 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.4275, allocations: 190.3 kB / 0.8219 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4276, allocations: 0 / 0.8219 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4276, allocations: 0.9375 kB / 0.8219 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.4276, allocations: 0.7031 kB / 0.8219 GB, free: 23.59 MB / 0.6355 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.0003381/0.4279, allocations: 291 kB / 0.8222 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.4279, allocations: 11.03 kB / 0.8222 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002748/0.4282, allocations: 71.38 kB / 0.8223 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.908e-05/0.4283, allocations: 113.8 kB / 0.8224 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.4283, allocations: 2.062 kB / 0.8224 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.4283, allocations: 7.766 kB / 0.8224 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.4285, allocations: 80.44 kB / 0.8225 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.4285, allocations: 0 / 0.8225 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.4285, allocations: 3.938 kB / 0.8225 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.4285, allocations: 0.7188 kB / 0.8225 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.4287, allocations: 62.28 kB / 0.8225 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.4288, allocations: 140 kB / 0.8227 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.4291, allocations: 122.2 kB / 0.8228 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.648e-05/0.4292, allocations: 41.14 kB / 0.8228 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002343/0.4294, allocations: 82.72 kB / 0.8229 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.4294, allocations: 40.78 kB / 0.823 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.4294, allocations: 0 / 0.823 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0006822/0.4301, allocations: 334 kB / 0.8233 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.4301, allocations: 53.14 kB / 0.8233 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.503e-05/0.4302, allocations: 97.19 kB / 0.8234 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.4302, allocations: 30.36 kB / 0.8234 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.586e-06/0.4302, allocations: 80.86 kB / 0.8235 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.4302, allocations: 19.97 kB / 0.8235 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.4303, allocations: 21.83 kB / 0.8236 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.643e-05/0.4303, allocations: 317 kB / 0.8239 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.407e-05/0.4304, allocations: 37.77 kB / 0.8239 GB, free: 22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.036e-05/0.4305, allocations: 31.42 kB / 0.8239 GB, free: 22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.4306, allocations: 82.47 kB / 0.824 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.4306, allocations: 0 / 0.824 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002147/0.4309, allocations: 120.8 kB / 0.8241 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.4309, allocations: 5.875 kB / 0.8241 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.4309, allocations: 0.7969 kB / 0.8241 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4309, allocations: 3.984 kB / 0.8241 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.858e-05/0.431, allocations: 26.3 kB / 0.8242 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.431, allocations: 0.8438 kB / 0.8242 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.171e-05/0.431, allocations: 11.94 kB / 0.8242 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.431, allocations: 3.188 kB / 0.8242 GB, free: 21.91 MB / 0.6355 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 3.572e-05/0.4311, allocations: 117 kB / 0.8243 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.4311, allocations: 6.469 kB / 0.8243 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.4313, allocations: 133.3 kB / 0.8244 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.4313, allocations: 0 / 0.8244 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4313, allocations: 1.5 kB / 0.8244 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.4313, allocations: 0.6562 kB / 0.8244 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.663e-05/0.4314, allocations: 138.2 kB / 0.8246 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.4314, allocations: 4 kB / 0.8246 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.309e-05/0.4315, allocations: 31.84 kB / 0.8246 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.4315, allocations: 3.938 kB / 0.8246 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.4315, allocations: 2.344 kB / 0.8246 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.4315, allocations: 3.938 kB / 0.8246 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4315, allocations: 3.938 kB / 0.8246 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.4318, allocations: 182.2 kB / 0.8248 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/0.4318, allocations: 18.45 kB / 0.8248 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.4318, allocations: 1.812 kB / 0.8248 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.086e-05/0.4319, allocations: 12.45 kB / 0.8248 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.4319, allocations: 5.312 kB / 0.8248 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.4319, allocations: 2.781 kB / 0.8248 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.223e-05/0.4319, allocations: 81.53 kB / 0.8249 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4319, allocations: 5.562 kB / 0.8249 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001455/0.432, allocations: 30.39 kB / 0.8249 GB, free: 21.36 MB / 0.6355 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.0001192/0.4322, allocations: 122.1 kB / 0.825 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002019/0.4324, allocations: 90.02 kB / 0.8251 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.4324, allocations: 0 / 0.8251 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.946e-05/0.4324, allocations: 40.58 kB / 0.8252 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.4326, allocations: 6.719 kB / 0.8252 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.4329, allocations: 213.6 kB / 0.8254 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.641e-05/0.433, allocations: 0.6819 MB / 0.826 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.433, allocations: 14.44 kB / 0.8261 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of SimCode: time 4.01e-07/0.433, allocations: 0 / 0.8261 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of Templates: time 0.002016/0.435, allocations: 1.126 MB / 0.8272 GB, free: 20.28 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.559302713954821] Failed to read output from testmodel.py, exit status != 0: 0.439805718138814 0.44752636700000004 0.018283032 Calling exit ...