Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.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.001706/0.001706, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001557/0.001557, allocations: 210.2 kB / 22.24 MB, free: 4.863 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 7.797 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.06542/0.06542, allocations: 12.2 MB / 324.6 MB, free: 7.09 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.0007774/0.0007774, allocations: 35.77 kB / 384.1 MB, free: 47.49 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.687/2.687, allocations: 353.9 MB / 0.7787 GB, free: 1.641 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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.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.003561/0.003561, allocations: 124.2 kB / 1.06 GB, free: 12.56 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.301, allocations: 134.9 MB / 1.192 GB, free: 5.77 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001938/0.3029, allocations: 0.6867 MB / 1.193 GB, free: 5.082 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.304, allocations: 0.828 MB / 1.194 GB, free: 4.242 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.886e-05/0.304, allocations: 4 kB / 1.194 GB, free: 4.238 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.304, allocations: 7.875 kB / 1.194 GB, free: 4.23 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 6.538e-05/0.3041, allocations: 7.922 kB / 1.194 GB, free: 4.223 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 6.45e-05/0.3042, allocations: 11.98 kB / 1.194 GB, free: 4.211 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.3043, allocations: 43.86 kB / 1.194 GB, free: 4.168 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.3044, allocations: 11.98 kB / 1.194 GB, free: 4.156 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 7.466e-05/0.3045, allocations: 19.88 kB / 1.194 GB, free: 4.137 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 4.823e-05/0.3045, allocations: 23.89 kB / 1.194 GB, free: 4.113 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.3045, allocations: 4 kB / 1.194 GB, free: 4.109 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.3046, allocations: 4 kB / 1.194 GB, free: 4.105 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.3046, allocations: 4 kB / 1.194 GB, free: 4.102 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.3046, allocations: 15.92 kB / 1.194 GB, free: 4.086 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.3047, allocations: 43.75 kB / 1.194 GB, free: 4.043 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3047, allocations: 0 / 1.194 GB, free: 4.043 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3047, allocations: 4 kB / 1.194 GB, free: 4.039 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.3047, allocations: 0 / 1.194 GB, free: 4.039 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005514/0.3053, allocations: 286.3 kB / 1.194 GB, free: 3.727 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3053, allocations: 11.98 kB / 1.194 GB, free: 3.715 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.3054, allocations: 8.891 kB / 1.194 GB, free: 3.707 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.3055, allocations: 114.5 kB / 1.194 GB, free: 3.57 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3055, allocations: 384 / 1.194 GB, free: 3.57 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.3055, allocations: 384 / 1.194 GB, free: 3.57 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.3058, allocations: 74.16 kB / 1.194 GB, free: 3.492 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3058, allocations: 192 / 1.194 GB, free: 3.492 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.3058, allocations: 7.938 kB / 1.194 GB, free: 3.484 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.3058, allocations: 0 / 1.194 GB, free: 3.484 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/0.3061, allocations: 63.92 kB / 1.194 GB, free: 3.422 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.3065, allocations: 212.6 kB / 1.195 GB, free: 3.184 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.3067, allocations: 58.47 kB / 1.195 GB, free: 3.117 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.3069, allocations: 44.86 kB / 1.195 GB, free: 3.07 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.3069, allocations: 3.984 kB / 1.195 GB, free: 3.066 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.307, allocations: 38.55 kB / 1.195 GB, free: 3.02 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.307, allocations: 0 / 1.195 GB, free: 3.02 MB / 0.8263 GB Notification: Performance of matching and sorting (n=3): time 0.0005591/0.3075, allocations: 125.6 kB / 1.195 GB, free: 2.891 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.3076, allocations: 55.41 kB / 1.195 GB, free: 2.824 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.3077, allocations: 105.8 kB / 1.195 GB, free: 2.711 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.3077, allocations: 25.7 kB / 1.195 GB, free: 2.68 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/0.3078, allocations: 92.09 kB / 1.195 GB, free: 2.586 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.3078, allocations: 7.938 kB / 1.195 GB, free: 2.578 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.3079, allocations: 21.66 kB / 1.195 GB, free: 2.551 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.308, allocations: 310.8 kB / 1.195 GB, free: 2.238 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.3082, allocations: 35.95 kB / 1.196 GB, free: 2.203 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.3083, allocations: 31.97 kB / 1.196 GB, free: 2.172 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.3086, allocations: 72.72 kB / 1.196 GB, free: 2.098 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3086, allocations: 4 kB / 1.196 GB, free: 2.094 MB / 0.8263 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003294/0.3089, allocations: 101.6 kB / 1.196 GB, free: 1.988 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3089, allocations: 9.812 kB / 1.196 GB, free: 1.98 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3089, allocations: 0 / 1.196 GB, free: 1.98 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.309, allocations: 0 / 1.196 GB, free: 1.98 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.3091, allocations: 23.91 kB / 1.196 GB, free: 1.957 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3091, allocations: 0 / 1.196 GB, free: 1.957 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.049e-05/0.3092, allocations: 19.94 kB / 1.196 GB, free: 1.938 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.3092, allocations: 0 / 1.196 GB, free: 1.938 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.488e-05/0.3093, allocations: 109.8 kB / 1.196 GB, free: 1.82 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.3093, allocations: 7.938 kB / 1.196 GB, free: 1.812 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.3093, allocations: 8 kB / 1.196 GB, free: 1.797 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3093, allocations: 0 / 1.196 GB, free: 1.797 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.3093, allocations: 4 kB / 1.196 GB, free: 1.793 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3093, allocations: 0 / 1.196 GB, free: 1.793 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.3095, allocations: 109.2 kB / 1.196 GB, free: 1.656 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3095, allocations: 0 / 1.196 GB, free: 1.656 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.3096, allocations: 23.91 kB / 1.196 GB, free: 1.633 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3096, allocations: 0 / 1.196 GB, free: 1.633 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.3096, allocations: 4 kB / 1.196 GB, free: 1.629 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3096, allocations: 0 / 1.196 GB, free: 1.629 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3096, allocations: 4 kB / 1.196 GB, free: 1.625 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.31, allocations: 195.4 kB / 1.196 GB, free: 1.418 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.31, allocations: 7.922 kB / 1.196 GB, free: 1.41 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.31, allocations: 4 kB / 1.196 GB, free: 1.406 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3101, allocations: 11.98 kB / 1.196 GB, free: 1.395 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.3102, allocations: 8 kB / 1.196 GB, free: 1.387 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3102, allocations: 384 / 1.196 GB, free: 1.387 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.679e-05/0.3102, allocations: 95.56 kB / 1.196 GB, free: 1.293 MB / 0.8263 GB Notification: Performance of sort global known variables: time 8e-08/0.3102, allocations: 0 / 1.196 GB, free: 1.293 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002132/0.3104, allocations: 4 kB / 1.196 GB, free: 1.289 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001587/0.3106, allocations: 91.25 kB / 1.196 GB, free: 1.191 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0003515/0.3109, allocations: 71.92 kB / 1.196 GB, free: 1.121 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.311, allocations: 0 / 1.196 GB, free: 1.121 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.3111, allocations: 39.98 kB / 1.197 GB, free: 1.082 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.3114, allocations: 8.031 kB / 1.197 GB, free: 1.074 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.3118, allocations: 135.2 kB / 1.197 GB, free: 0.918 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.676e-05/0.3119, allocations: 71.3 kB / 1.197 GB, free: 0.8281 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 3.12e-05/0.3119, allocations: 0 / 1.197 GB, free: 0.8281 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.312, allocations: 11.44 kB / 1.197 GB, free: 0.8164 MB / 0.8263 GB Notification: Performance of SimCode: time 3.21e-07/0.312, allocations: 3.938 kB / 1.197 GB, free: 0.8125 MB / 0.8263 GB Notification: Performance of Templates: time 0.003397/0.3154, allocations: 0.7466 MB / 1.197 GB, free: 84 kB / 0.8263 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.532111380249262] Failed to read output from testmodel.py, exit status != 0: 0.32413455098867416 0.33868599400000005 0.030926717000000003 Calling exit ...