Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001275/0.001275, allocations: 75.2 kB / 19.76 MB, free: 2.012 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.001497/0.001497, allocations: 157.3 kB / 23.01 MB, free: 4.965 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.501/1.501, allocations: 177.2 MB / 203.4 MB, free: 9.238 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.8562/0.8562, allocations: 101.3 MB / 361.1 MB, free: 10.05 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [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.002324/0.002324, allocations: 60.56 kB / 0.5357 GB, free: 5.332 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2227, allocations: 85.89 MB / 0.6195 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002489/0.2252, allocations: 0.7794 MB / 0.6203 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002501/0.2277, allocations: 1.451 MB / 0.6217 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.072e-05/0.2278, allocations: 0 / 0.6217 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.637e-05/0.2278, allocations: 3.938 kB / 0.6217 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.73e-05/0.2279, allocations: 3.938 kB / 0.6217 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007593/0.2286, allocations: 151.5 kB / 0.6219 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.2288, allocations: 47.7 kB / 0.6219 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.166e-05/0.2288, allocations: 4 kB / 0.6219 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.2289, allocations: 35.91 kB / 0.622 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.593e-05/0.229, allocations: 31.83 kB / 0.622 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.2291, allocations: 8 kB / 0.622 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004871/0.2295, allocations: 251.5 kB / 0.6222 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.227e-05/0.2296, allocations: 15.97 kB / 0.6222 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.2296, allocations: 19.86 kB / 0.6223 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.23, allocations: 211.3 kB / 0.6225 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.23, allocations: 0 / 0.6225 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.23, allocations: 0 / 0.6225 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.23, allocations: 4 kB / 0.6225 GB, free: 14.65 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007307/0.2307, allocations: 321.8 kB / 0.6228 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2308, allocations: 16.03 kB / 0.6228 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005086/0.2313, allocations: 76.84 kB / 0.6229 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.2314, allocations: 122.4 kB / 0.623 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.2315, allocations: 4.375 kB / 0.623 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.2315, allocations: 8.375 kB / 0.623 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004235/0.2319, allocations: 157.3 kB / 0.6231 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.2319, allocations: 3.938 kB / 0.6232 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.232, allocations: 11.98 kB / 0.6232 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.232, allocations: 4 kB / 0.6232 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004635/0.2324, allocations: 91.91 kB / 0.6233 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/0.233, allocations: 264.4 kB / 0.6235 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000658/0.2337, allocations: 154.4 kB / 0.6237 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.2339, allocations: 56.81 kB / 0.6237 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.2339, allocations: 3.938 kB / 0.6237 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.234, allocations: 34.56 kB / 0.6237 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.234, allocations: 0 / 0.6237 GB, free: 13.22 MB / 0.5294 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01884/0.2528, allocations: 2.683 MB / 0.6264 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.2529, allocations: 51.41 kB / 0.6264 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.253, allocations: 109.7 kB / 0.6265 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.253, allocations: 33.7 kB / 0.6266 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.2531, allocations: 92.03 kB / 0.6266 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.473e-05/0.2532, allocations: 35.69 kB / 0.6267 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.2533, allocations: 69.58 kB / 0.6267 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.2535, allocations: 322.8 kB / 0.627 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006874/0.2542, allocations: 187.8 kB / 0.6272 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000679/0.2549, allocations: 187.8 kB / 0.6274 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.2562, allocations: 407.4 kB / 0.6278 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2562, allocations: 0 / 0.6278 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001553/0.2577, allocations: 473.2 kB / 0.6282 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.2578, allocations: 11.94 kB / 0.6283 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2578, allocations: 0 / 0.6283 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.2578, allocations: 3.938 kB / 0.6283 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008239/0.2586, allocations: 107.8 kB / 0.6284 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2586, allocations: 4 kB / 0.6284 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006156/0.2592, allocations: 43.88 kB / 0.6284 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.969e-05/0.2593, allocations: 27.94 kB / 0.6284 GB, free: 8.305 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 (13): * Single equations (assignments): 13 * 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.0001715/0.2595, allocations: 114.9 kB / 0.6285 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.379e-05/0.2596, allocations: 11.95 kB / 0.6286 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.67e-05/0.2596, allocations: 12.11 kB / 0.6286 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.2596, allocations: 0 / 0.6286 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2596, allocations: 0 / 0.6286 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.2596, allocations: 8.125 kB / 0.6286 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/0.2619, allocations: 0.9605 MB / 0.6295 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2619, allocations: 4 kB / 0.6295 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008286/0.2627, allocations: 107.8 kB / 0.6296 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2627, allocations: 0 / 0.6296 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.585e-05/0.2628, allocations: 23.94 kB / 0.6296 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.2628, allocations: 7.938 kB / 0.6296 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.2628, allocations: 11.92 kB / 0.6297 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.2652, allocations: 0.7801 MB / 0.6304 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.2653, allocations: 35.94 kB / 0.6305 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.563e-05/0.2654, allocations: 7.938 kB / 0.6305 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006825/0.266, allocations: 55.92 kB / 0.6305 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.765e-05/0.2661, allocations: 27.92 kB / 0.6305 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.639e-05/0.2662, allocations: 23.94 kB / 0.6306 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.176e-05/0.2663, allocations: 79.28 kB / 0.6306 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2663, allocations: 4 kB / 0.6306 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004173/0.2667, allocations: 59.92 kB / 0.6307 GB, free: 5.867 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002412/0.2669, allocations: 107.1 kB / 0.6308 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001484/0.2684, allocations: 411.5 kB / 0.6312 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2684, allocations: 0 / 0.6312 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007483/0.2692, allocations: 231.7 kB / 0.6314 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.2695, allocations: 4 kB / 0.6314 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/0.2739, allocations: 0.7633 MB / 0.6322 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.436e-05/0.274, allocations: 79.33 kB / 0.6322 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006147/0.2746, allocations: 96.67 kB / 0.6323 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.2748, allocations: 56.36 kB / 0.6324 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.2748, allocations: 0 / 0.6324 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of Templates: time 0.008266/0.2831, allocations: 3.69 MB / 0.636 GB, free: 408 kB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.834592807106674] Failed to read output from testmodel.py, exit status != 0: 0.292757501360029 0.310691521 0.07717892800000001 Calling exit ...