Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.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.001295/0.001295, allocations: 78.64 kB / 19.18 MB, free: 2.527 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.001426/0.001426, allocations: 166.5 kB / 22.46 MB, free: 5.363 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.416/1.416, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.215/1.215, allocations: 154.6 MB / 413.7 MB, free: 5.309 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.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality") translateModel(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.6185 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.011e-05/3.178e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002992/0.003024, allocations: 1.544 MB / 0.62 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009411/0.003965, allocations: 485.9 kB / 0.6205 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.323e-05/0.004038, allocations: 0 / 0.6205 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.004071, allocations: 11.86 kB / 0.6205 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.009e-05/0.004131, allocations: 3.938 kB / 0.6205 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.004404, allocations: 39.83 kB / 0.6205 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.00454, allocations: 47.86 kB / 0.6205 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.004648, allocations: 15.97 kB / 0.6206 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.004829, allocations: 35.84 kB / 0.6206 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.104e-05/0.00487, allocations: 19.92 kB / 0.6206 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.004892, allocations: 7.984 kB / 0.6206 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.862e-05/0.004931, allocations: 4 kB / 0.6206 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.004947, allocations: 8 kB / 0.6206 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.004974, allocations: 15.92 kB / 0.6207 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.005114, allocations: 47.86 kB / 0.6207 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.005117, allocations: 4 kB / 0.6207 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.71e-07/0.005118, allocations: 0 / 0.6207 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.005122, allocations: 3.938 kB / 0.6207 GB, free: 2.414 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005884/0.00571, allocations: 286.2 kB / 0.621 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.005756, allocations: 9.469 kB / 0.621 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.005909, allocations: 16.88 kB / 0.621 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.006143, allocations: 129.6 kB / 0.6211 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.006168, allocations: 384 / 0.6211 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.006181, allocations: 8.375 kB / 0.6211 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.006419, allocations: 66.22 kB / 0.6212 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.006433, allocations: 8.188 kB / 0.6212 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.006444, allocations: 384 / 0.6212 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.006452, allocations: 3.938 kB / 0.6212 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.006655, allocations: 47.89 kB / 0.6213 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/0.007116, allocations: 228.5 kB / 0.6215 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.007481, allocations: 66.55 kB / 0.6215 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.007584, allocations: 24.83 kB / 0.6216 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.007603, allocations: 0 / 0.6216 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.007639, allocations: 38.55 kB / 0.6216 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.007639, allocations: 0 / 0.6216 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003999/0.008039, allocations: 85.55 kB / 0.6217 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.008086, allocations: 51.41 kB / 0.6217 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.008209, allocations: 117.8 kB / 0.6218 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.008237, allocations: 29.7 kB / 0.6219 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.187e-05/0.008318, allocations: 92.06 kB / 0.622 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.008351, allocations: 15.91 kB / 0.622 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.00839, allocations: 9.719 kB / 0.622 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.008581, allocations: 322.8 kB / 0.6223 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.406e-05/0.008675, allocations: 11.98 kB / 0.6223 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.136e-05/0.008766, allocations: 19.98 kB / 0.6223 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.00895, allocations: 44.78 kB / 0.6224 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.008956, allocations: 3.938 kB / 0.6224 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002364/0.009193, allocations: 69.66 kB / 0.6224 GB, free: 484 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.009221, allocations: 4 kB / 0.6224 GB, free: 480 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.009226, allocations: 3.938 kB / 0.6224 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.009244, allocations: 0 / 0.6224 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.173e-05/0.009326, allocations: 11.98 kB / 0.6225 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.009333, allocations: 0 / 0.6225 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.509e-05/0.009388, allocations: 4 kB / 0.6225 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.009398, allocations: 4 kB / 0.6225 GB, free: 456 kB / 0.5294 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 0.000113/0.009511, allocations: 118.8 kB / 0.6226 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.009541, allocations: 7.953 kB / 0.6226 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.68e-05/0.009587, allocations: 8 kB / 0.6226 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.009589, allocations: 0 / 0.6226 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.009595, allocations: 3.938 kB / 0.6226 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.009598, allocations: 384 / 0.6226 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.009767, allocations: 117.3 kB / 0.6227 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.00977, allocations: 3.938 kB / 0.6227 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.308e-05/0.009853, allocations: 11.98 kB / 0.6227 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.009855, allocations: 7.938 kB / 0.6227 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.009863, allocations: 0 / 0.6227 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.009865, allocations: 0 / 0.6227 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.009865, allocations: 0 / 0.6227 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.01016, allocations: 167.5 kB / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-06/0.01017, allocations: 3.938 kB / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.01019, allocations: 0 / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.01027, allocations: 11.98 kB / 0.6229 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.01031, allocations: 4.375 kB / 0.6229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.01031, allocations: 8 kB / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.174e-05/0.01037, allocations: 95.2 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01037, allocations: 0 / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000225/0.0106, allocations: 7.938 kB / 0.623 GB, free: 15.81 MB / 0.545 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 9.715e-05/0.0107, allocations: 95.25 kB / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002306/0.01093, allocations: 39.95 kB / 0.6231 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01093, allocations: 0 / 0.6231 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.947e-05/0.01103, allocations: 23.97 kB / 0.6232 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.01127, allocations: 17.98 kB / 0.6232 GB, free: 15.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.01163, allocations: 148.7 kB / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.212e-05/0.0117, allocations: 67.5 kB / 0.6234 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.83e-05/0.01172, allocations: 7.938 kB / 0.6234 GB, free: 15.37 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.01176, allocations: 8.5 kB / 0.6234 GB, free: 15.36 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.01176, allocations: 4 kB / 0.6234 GB, free: 15.36 MB / 0.545 GB Notification: Performance of Templates: time 0.002947/0.0147, allocations: 440.8 kB / 0.6238 GB, free: 14.93 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.sim & ./IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.646227281540632] Failed to read output from testmodel.py, exit status != 0: 0.023476537317037582 0.037952916 0.029770309000000002 Calling exit ...