Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 191.6 kB / 22.11 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 207.6 MB / 232.8 MB, free: 2.797 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4253/0.4253, allocations: 55.67 MB / 340.7 MB, free: 11.5 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 76.11 kB / 482.1 MB, free: 36.37 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1163, allocations: 62.88 MB / 0.5322 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00217/0.1185, allocations: 0.5715 MB / 0.5327 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.1207, allocations: 1.494 MB / 0.5342 GB, free: 8.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.443e-05/0.1207, allocations: 0 / 0.5342 GB, free: 8.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.939e-05/0.1207, allocations: 3.938 kB / 0.5342 GB, free: 8.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.195e-05/0.1207, allocations: 0 / 0.5342 GB, free: 8.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007513/0.1215, allocations: 143.5 kB / 0.5343 GB, free: 8.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.833e-05/0.1216, allocations: 27.97 kB / 0.5344 GB, free: 8.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.1216, allocations: 0 / 0.5344 GB, free: 8.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.625e-05/0.1217, allocations: 19.98 kB / 0.5344 GB, free: 8.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1218, allocations: 27.89 kB / 0.5344 GB, free: 8.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.1218, allocations: 4 kB / 0.5344 GB, free: 8.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000456/0.1223, allocations: 259.5 kB / 0.5347 GB, free: 8.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.1223, allocations: 11.98 kB / 0.5347 GB, free: 8.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.1223, allocations: 11.94 kB / 0.5347 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.1227, allocations: 175.5 kB / 0.5348 GB, free: 8.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1227, allocations: 0 / 0.5348 GB, free: 8.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1228, allocations: 0 / 0.5348 GB, free: 8.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1228, allocations: 7.938 kB / 0.5349 GB, free: 8.133 MB / 398.1 MB 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.0005925/0.1233, allocations: 286 kB / 0.5351 GB, free: 7.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1234, allocations: 8.031 kB / 0.5351 GB, free: 7.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004989/0.1239, allocations: 68.84 kB / 0.5352 GB, free: 7.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.124, allocations: 110.5 kB / 0.5353 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.124, allocations: 4.375 kB / 0.5353 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.1241, allocations: 11.89 kB / 0.5353 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.1243, allocations: 73.62 kB / 0.5354 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.1243, allocations: 0 / 0.5354 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.1244, allocations: 0 / 0.5354 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1244, allocations: 7.938 kB / 0.5354 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.1247, allocations: 63.92 kB / 0.5355 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.1249, allocations: 140.7 kB / 0.5356 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006368/0.1255, allocations: 126.5 kB / 0.5357 GB, free: 7.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.1257, allocations: 44.91 kB / 0.5358 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004413/0.1261, allocations: 79.91 kB / 0.5358 GB, free: 7.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1262, allocations: 30.56 kB / 0.5359 GB, free: 6.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.1262, allocations: 0 / 0.5359 GB, free: 6.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001218/0.1274, allocations: 329.1 kB / 0.5362 GB, free: 6.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.1274, allocations: 51.41 kB / 0.5362 GB, free: 6.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.1275, allocations: 101.9 kB / 0.5363 GB, free: 6.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.1275, allocations: 25.7 kB / 0.5363 GB, free: 6.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.1276, allocations: 80.14 kB / 0.5364 GB, free: 6.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.1276, allocations: 23.83 kB / 0.5364 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.1277, allocations: 21.72 kB / 0.5365 GB, free: 6.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1278, allocations: 318.8 kB / 0.5368 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.128, allocations: 40.09 kB / 0.5368 GB, free: 5.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.1281, allocations: 31.97 kB / 0.5368 GB, free: 5.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.1285, allocations: 76.8 kB / 0.5369 GB, free: 5.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.1285, allocations: 3.938 kB / 0.5369 GB, free: 5.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000414/0.1289, allocations: 121.8 kB / 0.537 GB, free: 5.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1289, allocations: 6.188 kB / 0.537 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1289, allocations: 0 / 0.537 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1289, allocations: 0 / 0.537 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.1291, allocations: 35.91 kB / 0.5371 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1291, allocations: 0 / 0.5371 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.1292, allocations: 11.98 kB / 0.5371 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.1292, allocations: 0 / 0.5371 GB, free: 5.637 MB / 398.1 MB 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 9.276e-05/0.1293, allocations: 121.7 kB / 0.5372 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.1293, allocations: 0 / 0.5372 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004856/0.1298, allocations: 133.3 kB / 0.5373 GB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1298, allocations: 0 / 0.5373 GB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1298, allocations: 0 / 0.5373 GB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1298, allocations: 4 kB / 0.5373 GB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.1299, allocations: 140.7 kB / 0.5375 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1299, allocations: 3.938 kB / 0.5375 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.1301, allocations: 23.98 kB / 0.5375 GB, free: 5.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.1301, allocations: 3.984 kB / 0.5375 GB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.1301, allocations: 7.938 kB / 0.5375 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1301, allocations: 0 / 0.5375 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1301, allocations: 0 / 0.5375 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000622/0.1307, allocations: 185 kB / 0.5377 GB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.1308, allocations: 12 kB / 0.5377 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.1308, allocations: 4.031 kB / 0.5377 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.1309, allocations: 11.98 kB / 0.5377 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.131, allocations: 7.984 kB / 0.5377 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.131, allocations: 4.188 kB / 0.5377 GB, free: 4.914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.98e-05/0.131, allocations: 79.22 kB / 0.5378 GB, free: 4.836 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.131, allocations: 0 / 0.5378 GB, free: 4.836 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1313, allocations: 39.95 kB / 0.5378 GB, free: 4.797 MB / 398.1 MB 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.0002107/0.1315, allocations: 131 kB / 0.538 GB, free: 4.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000413/0.1319, allocations: 83.92 kB / 0.538 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1319, allocations: 0 / 0.538 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.1321, allocations: 43.91 kB / 0.5381 GB, free: 4.531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.1322, allocations: 7.938 kB / 0.5381 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006819/0.1329, allocations: 185.4 kB / 0.5383 GB, free: 4.316 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.1332, allocations: 0.6846 MB / 0.5389 GB, free: 3.605 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.533e-05/0.1333, allocations: 19.98 kB / 0.539 GB, free: 3.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.1333, allocations: 15.42 kB / 0.539 GB, free: 3.57 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1333, allocations: 0 / 0.539 GB, free: 3.57 MB / 398.1 MB Notification: Performance of Templates: time 0.003972/0.1373, allocations: 1.182 MB / 0.5401 GB, free: 2.387 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.027356494218111] Failed to read output from testmodel.py, exit status != 0: 0.1448544505983591 0.163880776 0.036653344000000004 Calling exit ...