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.001174/0.001174, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001288/0.001288, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.8472/0.8472, allocations: 177.1 MB / 203.5 MB, free: 5.629 MB / 186.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.692/0.692, allocations: 154.5 MB / 414.5 MB, free: 0.8398 MB / 378.7 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 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.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.623e-06/1.623e-06, allocations: 0 / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.317e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001896/0.00192, allocations: 0.7753 MB / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.003765, allocations: 1.466 MB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.745e-05/0.003803, allocations: 0 / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.003833, allocations: 0 / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.989e-05/0.003883, allocations: 7.875 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004921/0.004375, allocations: 150.1 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.37e-05/0.004469, allocations: 51.89 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.485e-05/0.004513, allocations: 0 / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.004615, allocations: 35.91 kB / 0.6218 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.588e-05/0.004711, allocations: 35.88 kB / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.004731, allocations: 4 kB / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003381/0.005069, allocations: 251.5 kB / 0.622 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.00509, allocations: 11.98 kB / 0.6221 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.005119, allocations: 19.92 kB / 0.6221 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.005434, allocations: 223.4 kB / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.005437, allocations: 3.984 kB / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.51e-07/0.005438, allocations: 0 / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.005442, allocations: 0 / 0.6223 GB, free: 10.11 MB / 0.5886 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.0005676/0.006009, allocations: 333.8 kB / 0.6226 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.006045, allocations: 9.469 kB / 0.6226 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000337/0.006382, allocations: 72.8 kB / 0.6227 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.185e-05/0.006474, allocations: 105.8 kB / 0.6228 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.006505, allocations: 12.38 kB / 0.6228 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.00653, allocations: 4.375 kB / 0.6228 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.00683, allocations: 165.5 kB / 0.623 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.006843, allocations: 192 / 0.623 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.006858, allocations: 384 / 0.623 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.006866, allocations: 11.88 kB / 0.623 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003528/0.007218, allocations: 107.9 kB / 0.6231 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.00774, allocations: 268.3 kB / 0.6233 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004663/0.008206, allocations: 154.4 kB / 0.6235 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.008366, allocations: 52.81 kB / 0.6235 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.008393, allocations: 4 kB / 0.6235 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.00842, allocations: 34.56 kB / 0.6236 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.008421, allocations: 0 / 0.6236 GB, free: 8.68 MB / 0.5886 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.01314/0.02156, allocations: 2.682 MB / 0.6262 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.0216, allocations: 63.28 kB / 0.6262 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.463e-05/0.02168, allocations: 105.8 kB / 0.6263 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.02172, allocations: 29.7 kB / 0.6264 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.02177, allocations: 84.09 kB / 0.6265 GB, free: 5.633 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.02184, allocations: 51.61 kB / 0.6265 GB, free: 5.582 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.02199, allocations: 65.58 kB / 0.6266 GB, free: 5.512 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002372/0.02223, allocations: 322.8 kB / 0.6269 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005383/0.02277, allocations: 183.8 kB / 0.6271 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000516/0.02328, allocations: 202.9 kB / 0.6272 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.02439, allocations: 392.7 kB / 0.6276 GB, free: 4.426 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.02439, allocations: 0 / 0.6276 GB, free: 4.426 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001294/0.02568, allocations: 481.1 kB / 0.6281 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.0257, allocations: 4 kB / 0.6281 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.02571, allocations: 0 / 0.6281 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.02572, allocations: 4 kB / 0.6281 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/0.02632, allocations: 103.8 kB / 0.6282 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.02633, allocations: 1.016 kB / 0.6282 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006264/0.02695, allocations: 47.94 kB / 0.6282 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.931e-05/0.02702, allocations: 23.92 kB / 0.6283 GB, free: 3.77 MB / 0.5886 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.0001966/0.02722, allocations: 122.9 kB / 0.6284 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.735e-05/0.02731, allocations: 11.89 kB / 0.6284 GB, free: 3.629 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.658e-05/0.02735, allocations: 12.12 kB / 0.6284 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.02736, allocations: 7.938 kB / 0.6284 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.02736, allocations: 4 kB / 0.6284 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.02737, allocations: 3.984 kB / 0.6284 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.02866, allocations: 0.9533 MB / 0.6293 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.02867, allocations: 0 / 0.6293 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/0.02902, allocations: 103.8 kB / 0.6294 GB, free: 2.449 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.02903, allocations: 3.938 kB / 0.6294 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.02906, allocations: 23.94 kB / 0.6295 GB, free: 2.422 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.02906, allocations: 4 kB / 0.6295 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.02906, allocations: 0 / 0.6295 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.03033, allocations: 0.7917 MB / 0.6302 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.309e-05/0.03043, allocations: 39.89 kB / 0.6303 GB, free: 1.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.03046, allocations: 8.062 kB / 0.6303 GB, free: 1.562 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.03074, allocations: 39.94 kB / 0.6303 GB, free: 1.523 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.0308, allocations: 31.92 kB / 0.6304 GB, free: 1.492 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.03084, allocations: 27.86 kB / 0.6304 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.631e-05/0.03086, allocations: 87.45 kB / 0.6305 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.03086, allocations: 0 / 0.6305 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002521/0.03112, allocations: 52 kB / 0.6305 GB, free: 1.328 MB / 0.5886 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.0001927/0.03131, allocations: 119.1 kB / 0.6306 GB, free: 1.203 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008029/0.03211, allocations: 417.3 kB / 0.631 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.03211, allocations: 4 kB / 0.631 GB, free: 0.7969 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003729/0.03249, allocations: 227.6 kB / 0.6312 GB, free: 0.5742 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.03277, allocations: 11.98 kB / 0.6313 GB, free: 0.5625 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.03486, allocations: 0.764 MB / 0.632 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.252e-05/0.03491, allocations: 79.27 kB / 0.6321 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/0.03518, allocations: 76.31 kB / 0.6322 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of SimCode: time 8.72e-07/0.03518, allocations: 4 kB / 0.6322 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.003846/0.03902, allocations: 3.805 MB / 0.6359 GB, free: 11.78 MB / 0.6042 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 os._exit(0), Time elapsed: 5.163461411371827] Failed to read output from testmodel.py, exit status != 0: 0.04582477640360594 0.05715528 0.049523753000000004 Calling exit ...