Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.00139/0.00139, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001627/0.001627, allocations: 159.6 kB / 22.45 MB, free: 5.375 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.454/1.454, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 1.18/1.18, allocations: 154.5 MB / 413.7 MB, free: 5.297 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.6186 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.878e-05, allocations: 4.594 kB / 0.6186 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002085/0.002113, allocations: 0.7873 MB / 0.6194 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002441/0.004554, allocations: 1.454 MB / 0.6208 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.004592, allocations: 0 / 0.6208 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.685e-05/0.004629, allocations: 3.938 kB / 0.6208 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.122e-05/0.00467, allocations: 7.938 kB / 0.6208 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006121/0.005282, allocations: 143.4 kB / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.005393, allocations: 51.89 kB / 0.621 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.005437, allocations: 4 kB / 0.621 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.005542, allocations: 35.95 kB / 0.621 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.532e-05/0.005607, allocations: 27.91 kB / 0.621 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.005633, allocations: 4 kB / 0.621 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004474/0.006081, allocations: 255.4 kB / 0.6213 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/0.006108, allocations: 11.97 kB / 0.6213 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.006146, allocations: 19.92 kB / 0.6213 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005255/0.006671, allocations: 227.4 kB / 0.6215 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.006674, allocations: 0 / 0.6215 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.462e-06/0.006675, allocations: 0 / 0.6215 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.006686, allocations: 0 / 0.6215 GB, free: 1.551 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.0008067/0.007493, allocations: 341.7 kB / 0.6219 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.007538, allocations: 13.47 kB / 0.6219 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004866/0.008025, allocations: 64.86 kB / 0.6219 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.008156, allocations: 109.7 kB / 0.622 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.008184, allocations: 12.38 kB / 0.6221 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.008221, allocations: 4.375 kB / 0.6221 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/0.008685, allocations: 169.5 kB / 0.6222 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.008699, allocations: 192 / 0.6222 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.008716, allocations: 384 / 0.6222 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.008723, allocations: 3.938 kB / 0.6222 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005441/0.009267, allocations: 106.6 kB / 0.6223 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007199/0.009987, allocations: 264.3 kB / 0.6226 GB, free: 396 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007303/0.01072, allocations: 162.4 kB / 0.6227 GB, free: 224 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.01098, allocations: 52.81 kB / 0.6228 GB, free: 168 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.01099, allocations: 0 / 0.6228 GB, free: 168 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.01103, allocations: 38.56 kB / 0.6228 GB, free: 120 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.01103, allocations: 0 / 0.6228 GB, free: 120 kB / 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.01967/0.03071, allocations: 2.686 MB / 0.6254 GB, free: 13.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.03075, allocations: 55.5 kB / 0.6255 GB, free: 13.31 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.478e-05/0.03085, allocations: 117.7 kB / 0.6256 GB, free: 13.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.055e-05/0.03091, allocations: 29.7 kB / 0.6256 GB, free: 13.15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.03097, allocations: 88.09 kB / 0.6257 GB, free: 13.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.709e-05/0.03105, allocations: 39.62 kB / 0.6258 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.03123, allocations: 69.58 kB / 0.6258 GB, free: 12.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.03138, allocations: 318.8 kB / 0.6261 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007213/0.0321, allocations: 191.9 kB / 0.6263 GB, free: 12.44 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007242/0.03282, allocations: 199.8 kB / 0.6265 GB, free: 12.24 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.03433, allocations: 388.5 kB / 0.6269 GB, free: 11.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.03433, allocations: 0 / 0.6269 GB, free: 11.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001757/0.03609, allocations: 480.4 kB / 0.6273 GB, free: 11.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.03611, allocations: 8 kB / 0.6273 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.03611, allocations: 3.938 kB / 0.6273 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.03613, allocations: 0 / 0.6273 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008804/0.03701, allocations: 103.8 kB / 0.6274 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.03702, allocations: 4 kB / 0.6274 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006462/0.03767, allocations: 43.94 kB / 0.6275 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.088e-05/0.03774, allocations: 27.92 kB / 0.6275 GB, free: 11.2 MB / 0.545 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.0001628/0.0379, allocations: 122.8 kB / 0.6276 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.335e-05/0.03798, allocations: 7.891 kB / 0.6276 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.728e-05/0.03804, allocations: 16.12 kB / 0.6277 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.03804, allocations: 0 / 0.6277 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.03805, allocations: 0 / 0.6277 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.03805, allocations: 0 / 0.6277 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/0.04042, allocations: 0.967 MB / 0.6286 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.04042, allocations: 0 / 0.6286 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008484/0.04127, allocations: 107.8 kB / 0.6287 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.832e-06/0.04128, allocations: 4 kB / 0.6287 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.217e-05/0.04134, allocations: 23.94 kB / 0.6287 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.04134, allocations: 0 / 0.6287 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.04135, allocations: 7.938 kB / 0.6287 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.04389, allocations: 0.7917 MB / 0.6295 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.04404, allocations: 43.88 kB / 0.6295 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-05/0.04411, allocations: 8.062 kB / 0.6296 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007111/0.04482, allocations: 43.94 kB / 0.6296 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.04494, allocations: 23.92 kB / 0.6296 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.884e-05/0.04501, allocations: 35.86 kB / 0.6297 GB, free: 8.879 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.073e-05/0.04506, allocations: 83.28 kB / 0.6297 GB, free: 8.797 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.04506, allocations: 0 / 0.6297 GB, free: 8.797 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000382/0.04544, allocations: 52 kB / 0.6298 GB, free: 8.746 MB / 0.545 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.0002344/0.04567, allocations: 111.1 kB / 0.6299 GB, free: 8.629 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001564/0.04724, allocations: 415.5 kB / 0.6303 GB, free: 8.223 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.04724, allocations: 7.938 kB / 0.6303 GB, free: 8.215 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008031/0.04804, allocations: 223.7 kB / 0.6305 GB, free: 7.996 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.04842, allocations: 14.34 kB / 0.6305 GB, free: 7.984 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004412/0.05283, allocations: 0.7452 MB / 0.6312 GB, free: 7.215 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.909e-05/0.05291, allocations: 84.77 kB / 0.6313 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004886/0.0534, allocations: 92.72 kB / 0.6314 GB, free: 7.023 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/0.05368, allocations: 52.38 kB / 0.6315 GB, free: 6.973 MB / 0.545 GB Notification: Performance of SimCode: time 7.21e-07/0.05368, allocations: 0 / 0.6315 GB, free: 6.973 MB / 0.545 GB Notification: Performance of Templates: time 0.007589/0.06127, allocations: 3.679 MB / 0.6351 GB, free: 3.312 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.980141721665859] Failed to read output from testmodel.py, exit status != 0: 0.07049809396266937 0.08453345500000001 0.074866413 Calling exit ...