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.0007568/0.0007568, allocations: 72.5 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.0007641/0.0007641, allocations: 177.9 kB / 23.21 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.8903/0.8903, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.7321/0.7321, 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.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.393e-06/1.393e-06, allocations: 0 / 0.6192 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.069e-05, allocations: 2.281 kB / 0.6192 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002062/0.002083, allocations: 1.531 MB / 0.6207 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006581/0.002741, allocations: 494.7 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.746e-05/0.002799, allocations: 0 / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.856e-05/0.002827, allocations: 3.938 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.319e-05/0.00287, allocations: 7.875 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.003124, allocations: 35.83 kB / 0.6213 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.609e-05/0.00322, allocations: 55.78 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.286e-05/0.003313, allocations: 11.98 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.003443, allocations: 27.97 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.376e-05/0.003477, allocations: 19.92 kB / 0.6214 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.003492, allocations: 8 kB / 0.6214 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.414e-05/0.003526, allocations: 7.984 kB / 0.6214 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.00354, allocations: 15.92 kB / 0.6214 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.003561, allocations: 8 kB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.003681, allocations: 51.8 kB / 0.6215 GB, free: 11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003683, allocations: 0 / 0.6215 GB, free: 11 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.42e-07/0.003684, allocations: 0 / 0.6215 GB, free: 11 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.003689, allocations: 0 / 0.6215 GB, free: 11 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003806/0.004069, allocations: 294.1 kB / 0.6217 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.004104, allocations: 9.469 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.238e-05/0.004196, allocations: 12.94 kB / 0.6218 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.004343, allocations: 129.6 kB / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.00436, allocations: 384 / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.004369, allocations: 4.375 kB / 0.6219 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.004498, allocations: 66.2 kB / 0.6219 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.004504, allocations: 192 / 0.6219 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.004516, allocations: 12.36 kB / 0.622 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.004523, allocations: 3.938 kB / 0.622 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.004624, allocations: 47.91 kB / 0.622 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.004908, allocations: 224.5 kB / 0.6222 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.005096, allocations: 66.53 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.009e-05/0.005146, allocations: 20.84 kB / 0.6223 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.00516, allocations: 3.938 kB / 0.6223 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.005176, allocations: 34.56 kB / 0.6223 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.005177, allocations: 4 kB / 0.6223 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.000218/0.005395, allocations: 81.61 kB / 0.6224 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.005424, allocations: 55.34 kB / 0.6225 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.384e-05/0.005487, allocations: 117.8 kB / 0.6226 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.005497, allocations: 29.7 kB / 0.6226 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.005534, allocations: 88.08 kB / 0.6227 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.005552, allocations: 11.91 kB / 0.6227 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.005583, allocations: 17.7 kB / 0.6227 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.711e-05/0.005661, allocations: 318.8 kB / 0.623 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.243e-05/0.005703, allocations: 19.92 kB / 0.6231 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-05/0.005743, allocations: 19.98 kB / 0.6231 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.243e-05/0.005825, allocations: 40.83 kB / 0.6231 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.005828, allocations: 3.938 kB / 0.6231 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001072/0.005936, allocations: 61.67 kB / 0.6232 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.005946, allocations: 4 kB / 0.6232 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.00595, allocations: 0 / 0.6232 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.005961, allocations: 4 kB / 0.6232 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.931e-05/0.006001, allocations: 11.98 kB / 0.6232 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.006006, allocations: 4.312 kB / 0.6232 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.684e-05/0.006032, allocations: 11.98 kB / 0.6232 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.006038, allocations: 0 / 0.6232 GB, free: 9.035 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.225e-05/0.00609, allocations: 114.8 kB / 0.6233 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.006104, allocations: 11.89 kB / 0.6233 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.00613, allocations: 8 kB / 0.6233 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.006132, allocations: 0 / 0.6233 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.006135, allocations: 4 kB / 0.6233 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.006138, allocations: 0 / 0.6233 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.453e-05/0.006233, allocations: 121.3 kB / 0.6235 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.006234, allocations: 3.938 kB / 0.6235 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.668e-05/0.006261, allocations: 4 kB / 0.6235 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.006262, allocations: 4 kB / 0.6235 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.00627, allocations: 7.984 kB / 0.6235 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.006271, allocations: 0 / 0.6235 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006271, allocations: 0 / 0.6235 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.00641, allocations: 175.7 kB / 0.6236 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-06/0.006415, allocations: 3.938 kB / 0.6236 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.006426, allocations: 7.922 kB / 0.6237 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.808e-05/0.006464, allocations: 4 kB / 0.6237 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.006491, allocations: 0 / 0.6237 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.006495, allocations: 7.984 kB / 0.6237 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.128e-05/0.006526, allocations: 87.28 kB / 0.6237 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006526, allocations: 0 / 0.6237 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001395/0.006665, allocations: 11.94 kB / 0.6238 GB, free: 8.406 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 6.466e-05/0.00673, allocations: 103.2 kB / 0.6239 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.006851, allocations: 31.97 kB / 0.6239 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.006852, allocations: 0 / 0.6239 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.372e-05/0.006896, allocations: 23.92 kB / 0.6239 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.007064, allocations: 11.94 kB / 0.6239 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.00733, allocations: 162.6 kB / 0.6241 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.732e-05/0.007377, allocations: 71.33 kB / 0.6241 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/0.007402, allocations: 12.5 kB / 0.6242 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of SimCode: time 4.91e-07/0.007403, allocations: 0 / 0.6242 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of Templates: time 0.001389/0.008792, allocations: 0.7381 MB / 0.6249 GB, free: 7.199 MB / 0.5886 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: 4.932198762893677] Failed to read output from testmodel.py, exit status != 0: 0.013002933003008366 0.021601310000000002 0.016366248 Calling exit ...