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.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 110.8 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 189.5 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.874/0.874, allocations: 135.1 MB / 426.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 55.91 kB / 0.5067 GB, free: 7.641 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3166, allocations: 80.91 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002434/0.319, allocations: 1.519 MB / 0.5872 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005805/0.3197, allocations: 439.5 kB / 0.5877 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.3197, allocations: 2.469 kB / 0.5877 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.3197, allocations: 7.875 kB / 0.5877 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.741e-05/0.3198, allocations: 14.3 kB / 0.5877 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.32, allocations: 24.31 kB / 0.5877 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.894e-05/0.3201, allocations: 47.02 kB / 0.5878 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.3202, allocations: 15.7 kB / 0.5878 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.61e-05/0.3203, allocations: 28.84 kB / 0.5878 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.768e-05/0.3203, allocations: 18.67 kB / 0.5878 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.3203, allocations: 4.25 kB / 0.5878 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.3204, allocations: 4.312 kB / 0.5878 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.3204, allocations: 9.562 kB / 0.5878 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.3204, allocations: 23.45 kB / 0.5879 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.742e-05/0.3205, allocations: 38.84 kB / 0.5879 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3205, allocations: 1.125 kB / 0.5879 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3205, allocations: 0 / 0.5879 GB, free: 23.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.3205, allocations: 4.5 kB / 0.5879 GB, free: 23.89 MB / 446.1 MB 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.0003895/0.3209, allocations: 370.9 kB / 0.5883 GB, free: 23.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.321, allocations: 10.45 kB / 0.5883 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.321, allocations: 7.219 kB / 0.5883 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.241e-05/0.3211, allocations: 174.7 kB / 0.5884 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.3211, allocations: 2.594 kB / 0.5884 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.3211, allocations: 2.906 kB / 0.5884 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.3213, allocations: 71.81 kB / 0.5885 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.3213, allocations: 4.531 kB / 0.5885 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.3213, allocations: 5.297 kB / 0.5885 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3213, allocations: 0.5 kB / 0.5885 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.3215, allocations: 45.72 kB / 0.5886 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.3218, allocations: 294.3 kB / 0.5888 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.3221, allocations: 61.61 kB / 0.5889 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.581e-05/0.3222, allocations: 28.66 kB / 0.5889 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.3223, allocations: 0 / 0.5889 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.265e-05/0.3223, allocations: 37.11 kB / 0.589 GB, free: 22.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.3223, allocations: 0 / 0.589 GB, free: 22.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003287/0.3226, allocations: 84.69 kB / 0.589 GB, free: 22.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.3227, allocations: 56.84 kB / 0.5891 GB, free: 22.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.374e-05/0.3227, allocations: 117.8 kB / 0.5892 GB, free: 22.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.3227, allocations: 26.33 kB / 0.5892 GB, free: 22.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.492e-05/0.3228, allocations: 92.91 kB / 0.5893 GB, free: 22.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.3228, allocations: 12.88 kB / 0.5893 GB, free: 22.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.3228, allocations: 20.91 kB / 0.5894 GB, free: 22.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.532e-05/0.3229, allocations: 323.9 kB / 0.5897 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.229e-05/0.323, allocations: 18.77 kB / 0.5897 GB, free: 22.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-05/0.323, allocations: 18.36 kB / 0.5897 GB, free: 22.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.3232, allocations: 43.98 kB / 0.5897 GB, free: 22.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3232, allocations: 0 / 0.5897 GB, free: 22.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001814/0.3234, allocations: 62.83 kB / 0.5898 GB, free: 22.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3234, allocations: 7.781 kB / 0.5898 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3234, allocations: 0 / 0.5898 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3234, allocations: 0 / 0.5898 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-05/0.3235, allocations: 15.83 kB / 0.5898 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3235, allocations: 1.562 kB / 0.5898 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.389e-05/0.3236, allocations: 7.656 kB / 0.5898 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-06/0.3236, allocations: 5.047 kB / 0.5898 GB, free: 21.99 MB / 446.1 MB 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 4.359e-05/0.3236, allocations: 113.7 kB / 0.5899 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.3237, allocations: 10.25 kB / 0.59 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.3237, allocations: 14.03 kB / 0.59 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3237, allocations: 336 / 0.59 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3237, allocations: 4.5 kB / 0.59 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3237, allocations: 0 / 0.59 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.3239, allocations: 175.5 kB / 0.5901 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3239, allocations: 3.984 kB / 0.5901 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.198e-05/0.3239, allocations: 11.2 kB / 0.5902 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.324, allocations: 0 / 0.5902 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.324, allocations: 1.344 kB / 0.5902 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.324, allocations: 0 / 0.5902 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.324, allocations: 0 / 0.5902 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.3242, allocations: 180.2 kB / 0.5903 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.889e-05/0.3242, allocations: 79.08 kB / 0.5904 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.3242, allocations: 0 / 0.5904 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.399e-05/0.3243, allocations: 4.906 kB / 0.5904 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.3244, allocations: 5.078 kB / 0.5904 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.3244, allocations: 1.656 kB / 0.5904 GB, free: 21.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.497e-05/0.3244, allocations: 103 kB / 0.5905 GB, free: 21.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3244, allocations: 0 / 0.5905 GB, free: 21.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.3247, allocations: 10.44 kB / 0.5905 GB, free: 21.28 MB / 446.1 MB 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.107e-05/0.3247, allocations: 93.31 kB / 0.5906 GB, free: 21.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.3249, allocations: 40.62 kB / 0.5907 GB, free: 21.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3249, allocations: 1.406 kB / 0.5907 GB, free: 21.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.317e-05/0.325, allocations: 20.2 kB / 0.5907 GB, free: 21.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.3253, allocations: 12.12 kB / 0.5907 GB, free: 21.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002921/0.3256, allocations: 146.2 kB / 0.5908 GB, free: 21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.418e-05/0.3257, allocations: 0.6865 MB / 0.5915 GB, free: 20.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.749e-05/0.3257, allocations: 4 kB / 0.5915 GB, free: 20.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.3258, allocations: 7.438 kB / 0.5915 GB, free: 20.28 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3258, allocations: 1.094 kB / 0.5915 GB, free: 20.28 MB / 446.1 MB Notification: Performance of Templates: time 0.002125/0.3279, allocations: 465 kB / 0.592 GB, free: 19.84 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)