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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality") translateModel(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 177 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8291/0.8291, allocations: 133.6 MB / 141.6 MB, free: 2.883 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 221.5 MB / 395.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009895/0.0009895, allocations: 92.38 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.806e-05/1.796e-05, allocations: 3.984 kB / 0.5535 GB, free: 9.059 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4496/0.4496, allocations: 82.3 MB / 0.6338 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.5847, allocations: 111.3 MB / 0.7425 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.5849, allocations: 75.95 kB / 0.7426 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003876/0.5888, allocations: 1.47 MB / 0.744 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5888, allocations: 0 / 0.744 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.5889, allocations: 0 / 0.744 GB, free: 9.941 MB / 0.5261 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.0003561/0.5892, allocations: 350.4 kB / 0.7443 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.5893, allocations: 12.03 kB / 0.7443 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.5893, allocations: 4 kB / 0.7443 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.5894, allocations: 182.8 kB / 0.7445 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.5895, allocations: 4 kB / 0.7445 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.5895, allocations: 0 / 0.7445 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.835e-05/0.5896, allocations: 20 kB / 0.7445 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.178e-05/0.5897, allocations: 49.69 kB / 0.7446 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.5897, allocations: 0 / 0.7446 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.5897, allocations: 4 kB / 0.7446 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.5897, allocations: 3.984 kB / 0.7446 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.5902, allocations: 281.2 kB / 0.7449 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.5904, allocations: 46.58 kB / 0.7449 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/0.5904, allocations: 13 kB / 0.7449 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.5904, allocations: 0 / 0.7449 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.5905, allocations: 34.56 kB / 0.745 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.5905, allocations: 4 kB / 0.745 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.000163/0.5907, allocations: 49.62 kB / 0.745 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.5907, allocations: 51.41 kB / 0.7451 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.471e-05/0.5908, allocations: 105 kB / 0.7452 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.5908, allocations: 25.7 kB / 0.7452 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.5908, allocations: 99.97 kB / 0.7453 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.5909, allocations: 7.844 kB / 0.7453 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.5909, allocations: 0 / 0.7453 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.591, allocations: 314.8 kB / 0.7456 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.591, allocations: 8.375 kB / 0.7456 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.54e-05/0.591, allocations: 7.984 kB / 0.7456 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.097e-05/0.5911, allocations: 12 kB / 0.7456 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5911, allocations: 4 kB / 0.7456 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.372e-05/0.5911, allocations: 49.62 kB / 0.7457 GB, free: 8.035 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.5912, allocations: 4 kB / 0.7457 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5912, allocations: 3.938 kB / 0.7457 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.5912, allocations: 0 / 0.7457 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.855e-05/0.5913, allocations: 19.98 kB / 0.7457 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.5913, allocations: 0 / 0.7457 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.589e-05/0.5914, allocations: 7.906 kB / 0.7457 GB, free: 8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.5914, allocations: 11.94 kB / 0.7457 GB, free: 7.988 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.187e-05/0.5915, allocations: 101 kB / 0.7458 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.5915, allocations: 4 kB / 0.7458 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.5915, allocations: 8.328 kB / 0.7458 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.5915, allocations: 0 / 0.7458 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.5915, allocations: 4 kB / 0.7458 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.5915, allocations: 0 / 0.7458 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.5917, allocations: 154.2 kB / 0.746 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5917, allocations: 0 / 0.746 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.27e-05/0.5918, allocations: 15.98 kB / 0.746 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5918, allocations: 0 / 0.746 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.5918, allocations: 0 / 0.746 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5918, allocations: 4 kB / 0.746 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5918, allocations: 0 / 0.746 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.5919, allocations: 151.3 kB / 0.7461 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.592, allocations: 81.11 kB / 0.7462 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.592, allocations: 0 / 0.7462 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.5921, allocations: 15.98 kB / 0.7462 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.5921, allocations: 240 / 0.7462 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.5922, allocations: 4 kB / 0.7462 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.863e-05/0.5922, allocations: 87.27 kB / 0.7463 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5922, allocations: 3.938 kB / 0.7463 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002023/0.5924, allocations: 8 kB / 0.7463 GB, free: 7.281 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001/0.5925, allocations: 91.25 kB / 0.7464 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8e-05/0.5926, allocations: 27.98 kB / 0.7464 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.5926, allocations: 0 / 0.7464 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.954e-05/0.5926, allocations: 20.2 kB / 0.7465 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.5928, allocations: 9.453 kB / 0.7465 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000235/0.5931, allocations: 83.8 kB / 0.7465 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.5933, allocations: 0.6846 MB / 0.7472 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.451e-05/0.5933, allocations: 4 kB / 0.7472 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.5934, allocations: 11.44 kB / 0.7472 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of SimCode: time 3.7e-07/0.5934, allocations: 0 / 0.7472 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of Templates: time 0.001867/0.5953, allocations: 345.7 kB / 0.7476 GB, free: 5.957 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.makefile (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)