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.0008871/0.0008871, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0009428/0.0009428, allocations: 207.8 kB / 23.01 MB, free: 3.121 MB / 13.93 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.902/0.902, allocations: 230.6 MB / 256.8 MB, free: 3.445 MB / 202.7 MB " [Timeout remaining time 179] 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.03665/0.03665, allocations: 12.19 MB / 325.4 MB, free: 3.434 MB / 250.7 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.0005362/0.0005362, allocations: 33.97 kB / 384.9 MB, free: 45.73 MB / 298.7 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 1.602/1.602, allocations: 353.8 MB / 0.7795 GB, free: 13.04 MB / 0.5262 GB " [Timeout remaining time 178] 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.00141/0.00141, allocations: 120.2 kB / 1.061 GB, free: 9.398 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2128, allocations: 134.9 MB / 1.193 GB, free: 2.582 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001527/0.2143, allocations: 0.765 MB / 1.194 GB, free: 1.824 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007889/0.2151, allocations: 0.8938 MB / 1.195 GB, free: 0.918 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.971e-05/0.2152, allocations: 0 / 1.195 GB, free: 0.918 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.2152, allocations: 7.875 kB / 1.195 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.036e-05/0.2153, allocations: 11.88 kB / 1.195 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.2154, allocations: 43.95 kB / 1.195 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.2155, allocations: 87.75 kB / 1.195 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2156, allocations: 19.98 kB / 1.195 GB, free: 0.75 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.924e-05/0.2157, allocations: 35.86 kB / 1.195 GB, free: 0.7148 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.385e-05/0.2158, allocations: 55.81 kB / 1.195 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.2158, allocations: 8 kB / 1.195 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.2158, allocations: 8 kB / 1.195 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.2158, allocations: 15.92 kB / 1.195 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.2159, allocations: 39.83 kB / 1.195 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.216, allocations: 87.61 kB / 1.195 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.216, allocations: 4 kB / 1.195 GB, free: 0.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.824e-06/0.216, allocations: 0 / 1.195 GB, free: 0.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.216, allocations: 7.875 kB / 1.195 GB, free: 0.4922 MB / 0.823 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.0004729/0.2165, allocations: 318 kB / 1.195 GB, free: 156 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2165, allocations: 15.98 kB / 1.195 GB, free: 140 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.2166, allocations: 8.891 kB / 1.195 GB, free: 132 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.2167, allocations: 114.5 kB / 1.195 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.2167, allocations: 8.375 kB / 1.195 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.2167, allocations: 8.375 kB / 1.195 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.2169, allocations: 108.4 kB / 1.196 GB, free: 15.87 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2169, allocations: 0 / 1.196 GB, free: 15.87 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.2169, allocations: 0 / 1.196 GB, free: 15.87 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2169, allocations: 0 / 1.196 GB, free: 15.87 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.2171, allocations: 103.8 kB / 1.196 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.2175, allocations: 319.7 kB / 1.196 GB, free: 15.41 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000356/0.2179, allocations: 122.5 kB / 1.196 GB, free: 15.28 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.218, allocations: 60.81 kB / 1.196 GB, free: 15.22 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.218, allocations: 0 / 1.196 GB, free: 15.22 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.218, allocations: 30.56 kB / 1.196 GB, free: 15.18 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=7): time 7.62e-07/0.218, allocations: 0 / 1.196 GB, free: 15.18 MB / 0.8387 GB Notification: Performance of matching and sorting (n=7): time 0.0003829/0.2184, allocations: 185.7 kB / 1.196 GB, free: 14.99 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.2184, allocations: 55.34 kB / 1.196 GB, free: 14.93 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.522e-05/0.2185, allocations: 125.7 kB / 1.197 GB, free: 14.79 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.2185, allocations: 25.7 kB / 1.197 GB, free: 14.76 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.2186, allocations: 100.1 kB / 1.197 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.2186, allocations: 23.78 kB / 1.197 GB, free: 14.64 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.2186, allocations: 25.7 kB / 1.197 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.331e-05/0.2187, allocations: 322.8 kB / 1.197 GB, free: 14.28 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.249e-05/0.2188, allocations: 43.95 kB / 1.197 GB, free: 14.24 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.873e-05/0.2189, allocations: 52.02 kB / 1.197 GB, free: 14.19 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.2191, allocations: 92.78 kB / 1.197 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2191, allocations: 0 / 1.197 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002205/0.2193, allocations: 141.5 kB / 1.197 GB, free: 13.95 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.2193, allocations: 4 kB / 1.197 GB, free: 13.95 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2193, allocations: 0 / 1.197 GB, free: 13.95 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.2193, allocations: 0 / 1.197 GB, free: 13.95 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.19e-05/0.2194, allocations: 23.97 kB / 1.197 GB, free: 13.92 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2194, allocations: 8 kB / 1.197 GB, free: 13.91 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.2195, allocations: 15.92 kB / 1.197 GB, free: 13.9 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.2195, allocations: 7.984 kB / 1.197 GB, free: 13.89 MB / 0.8387 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 6.735e-05/0.2195, allocations: 114.7 kB / 1.198 GB, free: 13.77 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.2196, allocations: 7.953 kB / 1.198 GB, free: 13.76 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.927e-05/0.2196, allocations: 8.375 kB / 1.198 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.2196, allocations: 0 / 1.198 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.2196, allocations: 3.938 kB / 1.198 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2196, allocations: 7.938 kB / 1.198 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.2197, allocations: 172.7 kB / 1.198 GB, free: 13.53 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2197, allocations: 0 / 1.198 GB, free: 13.53 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.476e-05/0.2198, allocations: 23.97 kB / 1.198 GB, free: 13.5 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2198, allocations: 3.938 kB / 1.198 GB, free: 13.5 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.2198, allocations: 8 kB / 1.198 GB, free: 13.49 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.2198, allocations: 3.938 kB / 1.198 GB, free: 13.49 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.2198, allocations: 0 / 1.198 GB, free: 13.49 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.2201, allocations: 235.3 kB / 1.198 GB, free: 13.24 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.2201, allocations: 11.88 kB / 1.198 GB, free: 13.23 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.2201, allocations: 4 kB / 1.198 GB, free: 13.23 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-05/0.2201, allocations: 11.98 kB / 1.198 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.2202, allocations: 27.91 kB / 1.198 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.2202, allocations: 8 kB / 1.198 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.869e-05/0.2203, allocations: 95.81 kB / 1.198 GB, free: 13.09 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6e-08/0.2203, allocations: 0 / 1.198 GB, free: 13.09 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001541/0.2204, allocations: 12 kB / 1.198 GB, free: 13.07 MB / 0.8387 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 8.303e-05/0.2205, allocations: 99.19 kB / 1.198 GB, free: 12.97 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.2207, allocations: 103.9 kB / 1.198 GB, free: 12.87 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2207, allocations: 4 kB / 1.198 GB, free: 12.86 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.2208, allocations: 55.89 kB / 1.198 GB, free: 12.81 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.221, allocations: 15.61 kB / 1.198 GB, free: 12.8 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.2214, allocations: 199.9 kB / 1.199 GB, free: 12.57 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.2215, allocations: 0.7001 MB / 1.199 GB, free: 11.84 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.2216, allocations: 19.42 kB / 1.199 GB, free: 11.82 MB / 0.8387 GB Notification: Performance of SimCode: time 5.01e-07/0.2216, allocations: 0 / 1.199 GB, free: 11.82 MB / 0.8387 GB Notification: Performance of Templates: time 0.001809/0.2234, allocations: 1.231 MB / 1.2 GB, free: 10.6 MB / 0.8387 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: 6.831895228475332] Failed to read output from testmodel.py, exit status != 0: 0.22872359957545996 0.23668408899999996 0.01890435 Calling exit ...