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.0007008/0.0007008, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007102/0.0007102, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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.8098/0.8098, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6874/0.6874, allocations: 154.6 MB / 414.5 MB, free: 0.8359 MB / 378.7 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 179] 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: Performance of FrontEnd - loaded program: time 2.716e-06/2.716e-06, allocations: 0 / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.881e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001293/0.001322, allocations: 0.6893 MB / 0.62 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000738/0.00206, allocations: 0.8237 MB / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.633e-05/0.002097, allocations: 0 / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.002123, allocations: 3.938 kB / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.13e-05/0.002185, allocations: 11.88 kB / 0.6208 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.075e-05/0.002245, allocations: 7.984 kB / 0.6208 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.211e-05/0.002318, allocations: 47.84 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.371e-05/0.002411, allocations: 7.984 kB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.004e-05/0.002481, allocations: 27.92 kB / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.286e-05/0.002514, allocations: 19.97 kB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.002535, allocations: 4 kB / 0.6209 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.19e-06/0.00254, allocations: 4 kB / 0.6209 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.002557, allocations: 8 kB / 0.621 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.05e-05/0.002577, allocations: 11.92 kB / 0.621 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.835e-05/0.002666, allocations: 43.86 kB / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.00267, allocations: 4 kB / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.342e-06/0.002671, allocations: 0 / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.002675, allocations: 0 / 0.621 GB, free: 11.42 MB / 0.5886 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.0003537/0.003028, allocations: 286.2 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.003064, allocations: 9.469 kB / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.003093, allocations: 12.83 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.965e-05/0.003172, allocations: 109.7 kB / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.00319, allocations: 4.375 kB / 0.6214 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-06/0.003199, allocations: 384 / 0.6214 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.003356, allocations: 70.2 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.003364, allocations: 192 / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.003374, allocations: 4.375 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.003379, allocations: 4.375 kB / 0.6215 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.003511, allocations: 63.88 kB / 0.6216 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.003775, allocations: 212.5 kB / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.003886, allocations: 50.55 kB / 0.6218 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/0.003963, allocations: 48.91 kB / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.003974, allocations: 0 / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.003991, allocations: 30.56 kB / 0.6219 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.003992, allocations: 0 / 0.6219 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002938/0.004286, allocations: 141.4 kB / 0.622 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.004316, allocations: 55.41 kB / 0.6221 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.707e-05/0.004373, allocations: 105.8 kB / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.004383, allocations: 25.7 kB / 0.6222 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.727e-05/0.00442, allocations: 96.03 kB / 0.6223 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.004436, allocations: 3.953 kB / 0.6223 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.004461, allocations: 17.72 kB / 0.6223 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.004532, allocations: 314.8 kB / 0.6226 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.138e-05/0.004604, allocations: 31.97 kB / 0.6226 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.18e-05/0.004665, allocations: 35.95 kB / 0.6227 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.00479, allocations: 65.08 kB / 0.6227 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.004792, allocations: 0 / 0.6227 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001546/0.004946, allocations: 109.5 kB / 0.6228 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.00496, allocations: 7.938 kB / 0.6228 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.004964, allocations: 0 / 0.6228 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.004975, allocations: 0 / 0.6228 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.687e-05/0.005052, allocations: 15.98 kB / 0.6229 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.005057, allocations: 0 / 0.6229 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.005091, allocations: 19.94 kB / 0.6229 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.005098, allocations: 0 / 0.6229 GB, free: 9.336 MB / 0.5886 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 5.647e-05/0.005155, allocations: 110.8 kB / 0.623 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.005168, allocations: 11.92 kB / 0.623 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.005189, allocations: 11.94 kB / 0.623 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.00519, allocations: 0 / 0.623 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.005195, allocations: 4 kB / 0.623 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.005198, allocations: 4 kB / 0.623 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.519e-05/0.005283, allocations: 105.3 kB / 0.6231 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.005284, allocations: 0 / 0.6231 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.742e-05/0.005322, allocations: 15.98 kB / 0.6231 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.005323, allocations: 0 / 0.6231 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.005329, allocations: 4 kB / 0.6231 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.005332, allocations: 3.938 kB / 0.6231 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.005334, allocations: 4 kB / 0.6231 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.005514, allocations: 199.4 kB / 0.6233 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.00552, allocations: 0 / 0.6233 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.00553, allocations: 4 kB / 0.6233 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.836e-05/0.005579, allocations: 11.92 kB / 0.6233 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.005614, allocations: 15.98 kB / 0.6234 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.005617, allocations: 0 / 0.6234 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.816e-05/0.005645, allocations: 87.58 kB / 0.6234 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005645, allocations: 0 / 0.6234 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000137/0.005782, allocations: 8 kB / 0.6235 GB, free: 8.684 MB / 0.5886 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 8.648e-05/0.005868, allocations: 95.19 kB / 0.6235 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001828/0.006051, allocations: 75.86 kB / 0.6236 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.006052, allocations: 0 / 0.6236 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.534e-05/0.006118, allocations: 31.97 kB / 0.6236 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.006338, allocations: 10.25 kB / 0.6237 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.006596, allocations: 150.6 kB / 0.6238 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.265e-05/0.006639, allocations: 71.3 kB / 0.6239 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.006668, allocations: 8.5 kB / 0.6239 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/0.006669, allocations: 0 / 0.6239 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of Templates: time 0.001514/0.008183, allocations: 0.7678 MB / 0.6246 GB, free: 7.426 MB / 0.5886 GB " [Timeout remaining time 660] 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: 4.7697761952877045] Failed to read output from testmodel.py, exit status != 0: 0.01328754611313343 0.021187672 0.016861198 Calling exit ...