Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.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.001897/0.001897, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002462/0.002462, allocations: 220.4 kB / 22.26 MB, free: 5.125 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.06372/0.06372, allocations: 12.18 MB / 324.6 MB, free: 7.266 MB / 254.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0007468/0.0007468, allocations: 26.42 kB / 384.1 MB, free: 46.56 MB / 302.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 2.456/2.456, allocations: 353.8 MB / 0.7787 GB, free: 1.027 MB / 0.5138 GB " [Timeout remaining time 177] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.003572/0.003572, allocations: 126.5 kB / 1.061 GB, free: 13.05 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2603, allocations: 134.9 MB / 1.192 GB, free: 6.238 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001948/0.2623, allocations: 0.7641 MB / 1.193 GB, free: 5.477 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.2634, allocations: 0.8995 MB / 1.194 GB, free: 4.566 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.2635, allocations: 4 kB / 1.194 GB, free: 4.562 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.2635, allocations: 11.86 kB / 1.194 GB, free: 4.551 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.721e-05/0.2636, allocations: 7.875 kB / 1.194 GB, free: 4.543 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.2638, allocations: 47.88 kB / 1.194 GB, free: 4.496 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.2639, allocations: 79.83 kB / 1.194 GB, free: 4.418 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.264, allocations: 19.98 kB / 1.194 GB, free: 4.398 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 9.929e-05/0.2641, allocations: 47.78 kB / 1.194 GB, free: 4.352 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 9.232e-05/0.2642, allocations: 43.83 kB / 1.194 GB, free: 4.309 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.2643, allocations: 12 kB / 1.194 GB, free: 4.297 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 1.677e-05/0.2643, allocations: 8 kB / 1.194 GB, free: 4.289 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 3.252e-05/0.2643, allocations: 23.92 kB / 1.194 GB, free: 4.266 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 4.956e-05/0.2644, allocations: 31.84 kB / 1.194 GB, free: 4.234 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.2645, allocations: 91.59 kB / 1.194 GB, free: 4.145 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2645, allocations: 0 / 1.194 GB, free: 4.145 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2645, allocations: 0 / 1.194 GB, free: 4.145 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.2645, allocations: 0 / 1.194 GB, free: 4.145 MB / 0.8263 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.0006186/0.2651, allocations: 322 kB / 1.195 GB, free: 3.801 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.2652, allocations: 11.98 kB / 1.195 GB, free: 3.789 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.2652, allocations: 8.891 kB / 1.195 GB, free: 3.781 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.2653, allocations: 122.4 kB / 1.195 GB, free: 3.637 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.2654, allocations: 4.375 kB / 1.195 GB, free: 3.633 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.2654, allocations: 8.375 kB / 1.195 GB, free: 3.625 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.2657, allocations: 112.8 kB / 1.195 GB, free: 3.512 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2657, allocations: 0 / 1.195 GB, free: 3.512 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.2657, allocations: 4 kB / 1.195 GB, free: 3.508 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2657, allocations: 0 / 1.195 GB, free: 3.508 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.2661, allocations: 95.91 kB / 1.195 GB, free: 3.414 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.2666, allocations: 315.7 kB / 1.195 GB, free: 3.062 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006316/0.2673, allocations: 118.6 kB / 1.195 GB, free: 2.938 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.2675, allocations: 64.67 kB / 1.195 GB, free: 2.871 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.2675, allocations: 0 / 1.195 GB, free: 2.871 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.2675, allocations: 34.56 kB / 1.195 GB, free: 2.828 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.2675, allocations: 4 kB / 1.195 GB, free: 2.824 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7): time 0.0006632/0.2682, allocations: 181.7 kB / 1.196 GB, free: 2.641 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.2682, allocations: 51.41 kB / 1.196 GB, free: 2.578 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.2683, allocations: 129.2 kB / 1.196 GB, free: 2.445 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.2684, allocations: 29.7 kB / 1.196 GB, free: 2.41 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.2684, allocations: 96.09 kB / 1.196 GB, free: 2.312 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.2685, allocations: 23.78 kB / 1.196 GB, free: 2.289 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.2685, allocations: 21.7 kB / 1.196 GB, free: 2.262 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.2686, allocations: 318.8 kB / 1.196 GB, free: 1.941 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.2688, allocations: 47.89 kB / 1.196 GB, free: 1.895 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.269, allocations: 52.02 kB / 1.196 GB, free: 1.844 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.2694, allocations: 96.77 kB / 1.196 GB, free: 1.746 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2694, allocations: 0 / 1.196 GB, free: 1.746 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004163/0.2698, allocations: 137.6 kB / 1.197 GB, free: 1.605 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2698, allocations: 13.17 kB / 1.197 GB, free: 1.594 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.2698, allocations: 0 / 1.197 GB, free: 1.594 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2698, allocations: 4 kB / 1.197 GB, free: 1.59 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.27, allocations: 27.91 kB / 1.197 GB, free: 1.562 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.27, allocations: 0 / 1.197 GB, free: 1.562 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.2701, allocations: 19.92 kB / 1.197 GB, free: 1.543 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.2701, allocations: 0 / 1.197 GB, free: 1.543 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.682e-05/0.2702, allocations: 117.8 kB / 1.197 GB, free: 1.418 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.2703, allocations: 11.95 kB / 1.197 GB, free: 1.406 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.2703, allocations: 12.36 kB / 1.197 GB, free: 1.391 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2703, allocations: 0 / 1.197 GB, free: 1.391 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.2703, allocations: 0 / 1.197 GB, free: 1.391 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2703, allocations: 11.88 kB / 1.197 GB, free: 1.379 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.2705, allocations: 168.7 kB / 1.197 GB, free: 1.172 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2705, allocations: 0 / 1.197 GB, free: 1.172 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.2707, allocations: 23.97 kB / 1.197 GB, free: 1.148 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2707, allocations: 4 kB / 1.197 GB, free: 1.145 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.2707, allocations: 4 kB / 1.197 GB, free: 1.141 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2707, allocations: 0 / 1.197 GB, free: 1.141 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2707, allocations: 0 / 1.197 GB, free: 1.141 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004717/0.2712, allocations: 239.3 kB / 1.197 GB, free: 0.8906 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.624e-05/0.2712, allocations: 15.89 kB / 1.197 GB, free: 0.875 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.2712, allocations: 0 / 1.197 GB, free: 0.875 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.2714, allocations: 15.97 kB / 1.197 GB, free: 0.8594 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/0.2714, allocations: 19.92 kB / 1.197 GB, free: 0.8398 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.2715, allocations: 11.97 kB / 1.197 GB, free: 0.8281 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 6.522e-05/0.2715, allocations: 95.27 kB / 1.197 GB, free: 0.7344 MB / 0.8263 GB Notification: Performance of sort global known variables: time 1e-07/0.2715, allocations: 0 / 1.197 GB, free: 0.7344 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002406/0.2718, allocations: 12 kB / 1.197 GB, free: 0.7227 MB / 0.8263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001114/0.2719, allocations: 99.25 kB / 1.197 GB, free: 0.6172 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0004283/0.2723, allocations: 107.8 kB / 1.198 GB, free: 0.5117 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2723, allocations: 0 / 1.198 GB, free: 0.5117 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.2725, allocations: 59.94 kB / 1.198 GB, free: 464 kB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.2728, allocations: 8 kB / 1.198 GB, free: 456 kB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.2732, allocations: 178.2 kB / 1.198 GB, free: 248 kB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.2736, allocations: 0.6962 MB / 1.198 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.148e-05/0.2736, allocations: 12 kB / 1.199 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.577e-05/0.2737, allocations: 23.42 kB / 1.199 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.2737, allocations: 0 / 1.199 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of Templates: time 0.004542/0.2782, allocations: 1.62 MB / 1.2 GB, free: 13.88 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.02909416332841] Failed to read output from testmodel.py, exit status != 0: 0.28668100759387016 0.30089180600000004 0.033395969000000005 Calling exit ...