Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001586/0.001586, allocations: 82.64 kB / 19.16 MB, free: 2.535 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.002029/0.002029, allocations: 173.5 kB / 22.44 MB, free: 5.336 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.402/1.402, allocations: 177.2 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.158/1.158, allocations: 155 MB / 414.2 MB, free: 4.926 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 660] "Notification: IDEAS 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.002127/0.002127, allocations: 67.09 kB / 0.6192 GB, free: 4.086 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.549/0.5511, allocations: 102 MB / 0.7188 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001712/0.5528, allocations: 0.6884 MB / 0.7195 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008199/0.5537, allocations: 0.828 MB / 0.7203 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.5537, allocations: 0 / 0.7203 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/0.5537, allocations: 5.562 kB / 0.7203 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.182e-05/0.5538, allocations: 5.109 kB / 0.7203 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.303e-05/0.5539, allocations: 14.33 kB / 0.7203 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.048e-05/0.5539, allocations: 46.67 kB / 0.7203 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.554, allocations: 13.77 kB / 0.7204 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.297e-05/0.5541, allocations: 24.83 kB / 0.7204 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.395e-05/0.5542, allocations: 18.36 kB / 0.7204 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.5542, allocations: 3.844 kB / 0.7204 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-06/0.5542, allocations: 4.094 kB / 0.7204 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.5542, allocations: 9.953 kB / 0.7204 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.5542, allocations: 13.59 kB / 0.7204 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.439e-05/0.5543, allocations: 45.11 kB / 0.7205 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.5543, allocations: 0 / 0.7205 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5543, allocations: 0 / 0.7205 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.5543, allocations: 5.469 kB / 0.7205 GB, free: 0.5977 MB / 0.6075 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.0004639/0.5548, allocations: 291.5 kB / 0.7208 GB, free: 324 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.5548, allocations: 10.62 kB / 0.7208 GB, free: 324 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.5549, allocations: 7.266 kB / 0.7208 GB, free: 320 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.077e-05/0.555, allocations: 118.7 kB / 0.7209 GB, free: 180 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.555, allocations: 6.266 kB / 0.7209 GB, free: 176 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.555, allocations: 1.719 kB / 0.7209 GB, free: 176 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.5552, allocations: 73.03 kB / 0.721 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.5552, allocations: 192 / 0.721 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.5552, allocations: 3.938 kB / 0.721 GB, free: 128 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.5552, allocations: 1.562 kB / 0.721 GB, free: 128 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.5555, allocations: 62.23 kB / 0.721 GB, free: 120 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.5559, allocations: 215.6 kB / 0.7212 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.5561, allocations: 55.17 kB / 0.7213 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.5562, allocations: 45.78 kB / 0.7213 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.5562, allocations: 1.922 kB / 0.7213 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.5563, allocations: 32.47 kB / 0.7214 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.5563, allocations: 0 / 0.7214 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0005738/0.5568, allocations: 132.5 kB / 0.7215 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.5569, allocations: 52.47 kB / 0.7215 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.557, allocations: 111.4 kB / 0.7216 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.557, allocations: 25.7 kB / 0.7217 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.5571, allocations: 87.8 kB / 0.7218 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.5571, allocations: 9.922 kB / 0.7218 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.5571, allocations: 17.83 kB / 0.7218 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.5573, allocations: 313.6 kB / 0.7221 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.5574, allocations: 35.33 kB / 0.7221 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.5576, allocations: 31.16 kB / 0.7221 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.5579, allocations: 66.2 kB / 0.7222 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5579, allocations: 0 / 0.7222 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003457/0.5582, allocations: 106.4 kB / 0.7223 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5582, allocations: 4.688 kB / 0.7223 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5582, allocations: 2.312 kB / 0.7223 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.5582, allocations: 0 / 0.7223 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.5584, allocations: 19.08 kB / 0.7223 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.5584, allocations: 1.125 kB / 0.7223 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.52e-05/0.5585, allocations: 19.55 kB / 0.7224 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.5585, allocations: 0.9688 kB / 0.7224 GB, free: 15.04 MB / 0.6231 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 9.193e-05/0.5586, allocations: 114.2 kB / 0.7225 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.5586, allocations: 10.48 kB / 0.7225 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.5586, allocations: 14 kB / 0.7225 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5586, allocations: 0 / 0.7225 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.5586, allocations: 1.188 kB / 0.7225 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5586, allocations: 0.6562 kB / 0.7225 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.5588, allocations: 108.8 kB / 0.7226 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5588, allocations: 0 / 0.7226 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.5589, allocations: 22.95 kB / 0.7226 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.5589, allocations: 5.734 kB / 0.7226 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.5589, allocations: 0 / 0.7226 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.5589, allocations: 5.5 kB / 0.7226 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5589, allocations: 1.016 kB / 0.7226 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.5593, allocations: 190.9 kB / 0.7228 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.635e-05/0.5593, allocations: 10.2 kB / 0.7228 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.5593, allocations: 4.656 kB / 0.7228 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.5595, allocations: 11.27 kB / 0.7228 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.5595, allocations: 8.812 kB / 0.7228 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.5595, allocations: 3.938 kB / 0.7228 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.304e-05/0.5596, allocations: 92.39 kB / 0.7229 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5596, allocations: 0 / 0.7229 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002171/0.5598, allocations: 6.219 kB / 0.7229 GB, free: 14.52 MB / 0.6231 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.0001448/0.5599, allocations: 93.88 kB / 0.723 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003788/0.5603, allocations: 73.89 kB / 0.7231 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5603, allocations: 1.375 kB / 0.7231 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.5605, allocations: 33.19 kB / 0.7231 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.5608, allocations: 7.062 kB / 0.7231 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.5612, allocations: 134.7 kB / 0.7233 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.729e-05/0.5612, allocations: 64.53 kB / 0.7233 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.502e-05/0.5613, allocations: 1.797 kB / 0.7233 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.5613, allocations: 9.625 kB / 0.7233 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.5613, allocations: 1 kB / 0.7233 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of Templates: time 0.003305/0.5646, allocations: 0.7396 MB / 0.7241 GB, free: 14.1 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.116902066394687] Failed to read output from testmodel.py, exit status != 0: 0.5734911896288395 0.589122774 0.031671565 Calling exit ...