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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3624/0.3624, allocations: 54.42 MB / 61.89 MB, free: 13.76 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00129/0.00129, allocations: 179.5 kB / 75.61 MB, free: 0.7734 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.736/1.736, allocations: 194.3 MB / 283.5 MB, free: 14.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001577/0.001577, allocations: 112.5 kB / 341.6 MB, free: 4.023 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.179e-05/2.181e-05, allocations: 4.219 kB / 405.5 MB, free: 4.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3274, allocations: 57.65 MB / 463.2 MB, free: 51.67 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1053/0.4328, allocations: 85.44 MB / 0.5357 GB, free: 15.74 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.433, allocations: 77.55 kB / 0.5358 GB, free: 15.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0125/0.4456, allocations: 3.991 MB / 0.5397 GB, free: 11.76 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.4456, allocations: 0 / 0.5397 GB, free: 11.76 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.4456, allocations: 0 / 0.5397 GB, free: 11.76 MB / 394.7 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.0003551/0.446, allocations: 359 kB / 0.5401 GB, free: 11.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.446, allocations: 12.03 kB / 0.5401 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003652/0.4464, allocations: 67.83 kB / 0.5401 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.4465, allocations: 164.5 kB / 0.5403 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.4466, allocations: 0 / 0.5403 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.4466, allocations: 4 kB / 0.5403 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.766e-05/0.4467, allocations: 19.98 kB / 0.5403 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.4468, allocations: 53.56 kB / 0.5404 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-06/0.4468, allocations: 4 kB / 0.5404 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.4468, allocations: 0 / 0.5404 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.4468, allocations: 0 / 0.5404 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.447, allocations: 146.2 kB / 0.5405 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.4472, allocations: 58.66 kB / 0.5406 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/0.4473, allocations: 16.86 kB / 0.5406 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.4473, allocations: 4 kB / 0.5406 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.4473, allocations: 40.19 kB / 0.5406 GB, free: 10.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.4474, allocations: 0 / 0.5406 GB, free: 10.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.001056/0.4484, allocations: 390.2 kB / 0.541 GB, free: 10.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.4485, allocations: 51.41 kB / 0.541 GB, free: 10.19 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.432e-05/0.4485, allocations: 88.98 kB / 0.5411 GB, free: 10.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.4486, allocations: 25.7 kB / 0.5411 GB, free: 10.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.534e-05/0.4486, allocations: 84.14 kB / 0.5412 GB, free: 9.977 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.4486, allocations: 12.75 kB / 0.5412 GB, free: 9.965 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-06/0.4486, allocations: 0 / 0.5412 GB, free: 9.965 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.881e-05/0.4487, allocations: 310.8 kB / 0.5415 GB, free: 9.652 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.782e-05/0.4488, allocations: 20.11 kB / 0.5416 GB, free: 9.633 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.636e-05/0.4488, allocations: 19.94 kB / 0.5416 GB, free: 9.613 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.449, allocations: 47.94 kB / 0.5416 GB, free: 9.566 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.449, allocations: 0 / 0.5416 GB, free: 9.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002882/0.4493, allocations: 107.2 kB / 0.5417 GB, free: 9.457 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.4494, allocations: 4 kB / 0.5417 GB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.4494, allocations: 7.938 kB / 0.5417 GB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.4494, allocations: 2.156 kB / 0.5417 GB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.4496, allocations: 27.97 kB / 0.5418 GB, free: 9.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4496, allocations: 3.953 kB / 0.5418 GB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.4497, allocations: 15.98 kB / 0.5418 GB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.4497, allocations: 4 kB / 0.5418 GB, free: 9.395 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.928e-05/0.4498, allocations: 105 kB / 0.5419 GB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.4498, allocations: 3.938 kB / 0.5419 GB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000388/0.4502, allocations: 125.8 kB / 0.542 GB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4502, allocations: 0 / 0.542 GB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4502, allocations: 4 kB / 0.542 GB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4502, allocations: 9.703 kB / 0.542 GB, free: 9.145 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.4503, allocations: 142.2 kB / 0.5422 GB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4504, allocations: 0 / 0.5422 GB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.4505, allocations: 27.97 kB / 0.5422 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4505, allocations: 0 / 0.5422 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.4506, allocations: 0 / 0.5422 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4506, allocations: 0 / 0.5422 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4506, allocations: 4 kB / 0.5422 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.451, allocations: 153 kB / 0.5423 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.878e-05/0.451, allocations: 92.81 kB / 0.5424 GB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.4511, allocations: 0 / 0.5424 GB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.4512, allocations: 24.03 kB / 0.5424 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.4512, allocations: 0 / 0.5424 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.4512, allocations: 4 kB / 0.5424 GB, free: 8.637 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.831e-05/0.4513, allocations: 79.28 kB / 0.5425 GB, free: 8.559 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4513, allocations: 0 / 0.5425 GB, free: 8.559 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002409/0.4515, allocations: 43.92 kB / 0.5426 GB, free: 8.516 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002225/0.4518, allocations: 139.2 kB / 0.5427 GB, free: 8.367 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.4519, allocations: 41.3 kB / 0.5427 GB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4519, allocations: 0 / 0.5427 GB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.4519, allocations: 20 kB / 0.5428 GB, free: 8.309 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.966e-05/0.452, allocations: 3.953 kB / 0.5428 GB, free: 8.305 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00044/0.4525, allocations: 125.4 kB / 0.5429 GB, free: 8.164 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.4527, allocations: 0.6884 MB / 0.5436 GB, free: 7.449 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000115/0.4528, allocations: 16 kB / 0.5436 GB, free: 7.434 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.4529, allocations: 11.44 kB / 0.5436 GB, free: 7.422 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4529, allocations: 0 / 0.5436 GB, free: 7.422 MB / 394.7 MB Notification: Performance of Templates: time 0.0029/0.4558, allocations: 1.059 MB / 0.5446 GB, free: 6.395 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (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)