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.001353/0.001354, allocations: 115.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.001366/0.001366, allocations: 193.4 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.293/1.293, 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.8343/0.8343, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 59.91 kB / 0.5068 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3562, allocations: 80.9 MB / 0.5858 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.00236/0.3586, allocations: 1.521 MB / 0.5872 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005606/0.3592, allocations: 446.6 kB / 0.5877 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.3593, allocations: 1.25 kB / 0.5877 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.3593, allocations: 7.922 kB / 0.5877 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.271e-05/0.3594, allocations: 5.344 kB / 0.5877 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.3595, allocations: 22.05 kB / 0.5877 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.449e-05/0.3596, allocations: 53.17 kB / 0.5878 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.494e-05/0.3597, allocations: 12.25 kB / 0.5878 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.153e-05/0.3598, allocations: 24.7 kB / 0.5878 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.733e-05/0.3599, allocations: 22.55 kB / 0.5878 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.3599, allocations: 3.812 kB / 0.5878 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.3599, allocations: 3.875 kB / 0.5878 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.3599, allocations: 19.12 kB / 0.5878 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.3599, allocations: 15.47 kB / 0.5879 GB, free: 24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.523e-05/0.36, allocations: 41.66 kB / 0.5879 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.36, allocations: 1.688 kB / 0.5879 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.36, allocations: 0.9062 kB / 0.5879 GB, free: 23.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.3601, allocations: 0 / 0.5879 GB, free: 23.96 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.0003757/0.3604, allocations: 364.5 kB / 0.5882 GB, free: 23.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.3605, allocations: 10.14 kB / 0.5883 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.3605, allocations: 9.438 kB / 0.5883 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.455e-05/0.3606, allocations: 182.9 kB / 0.5884 GB, free: 23.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.3606, allocations: 2.656 kB / 0.5884 GB, free: 23.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.3606, allocations: 2.469 kB / 0.5884 GB, free: 23.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.3608, allocations: 63.89 kB / 0.5885 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3608, allocations: 2.688 kB / 0.5885 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3608, allocations: 7.938 kB / 0.5885 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3609, allocations: 1.125 kB / 0.5885 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.361, allocations: 43.8 kB / 0.5886 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.3614, allocations: 291.9 kB / 0.5888 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.3616, allocations: 65.59 kB / 0.5889 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.839e-05/0.3617, allocations: 22.88 kB / 0.5889 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.3618, allocations: 2.438 kB / 0.5889 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.087e-05/0.3618, allocations: 35.62 kB / 0.589 GB, free: 22.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3618, allocations: 0 / 0.589 GB, free: 22.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003107/0.3621, allocations: 93.17 kB / 0.589 GB, free: 22.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.3621, allocations: 52.62 kB / 0.5891 GB, free: 22.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.917e-05/0.3622, allocations: 117.9 kB / 0.5892 GB, free: 22.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/0.3622, allocations: 26.61 kB / 0.5892 GB, free: 22.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.558e-05/0.3622, allocations: 94.7 kB / 0.5893 GB, free: 22.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.3623, allocations: 18.05 kB / 0.5893 GB, free: 22.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.3623, allocations: 17.47 kB / 0.5894 GB, free: 22.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.557e-05/0.3623, allocations: 317.7 kB / 0.5897 GB, free: 22.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.669e-05/0.3624, allocations: 16.98 kB / 0.5897 GB, free: 22.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.789e-05/0.3625, allocations: 18.83 kB / 0.5897 GB, free: 22.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.3626, allocations: 41.2 kB / 0.5897 GB, free: 22.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3626, allocations: 0.625 kB / 0.5897 GB, free: 22.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001691/0.3628, allocations: 70.97 kB / 0.5898 GB, free: 22.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.3628, allocations: 8.5 kB / 0.5898 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3628, allocations: 1.688 kB / 0.5898 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3629, allocations: 0 / 0.5898 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/0.3629, allocations: 10.45 kB / 0.5898 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3629, allocations: 1.062 kB / 0.5898 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.872e-05/0.363, allocations: 4.812 kB / 0.5898 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.363, allocations: 0 / 0.5898 GB, free: 22.08 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.624e-05/0.3631, allocations: 119.9 kB / 0.5899 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.3631, allocations: 6.188 kB / 0.5899 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.3631, allocations: 14.67 kB / 0.59 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3631, allocations: 3.938 kB / 0.59 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3631, allocations: 0 / 0.59 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3631, allocations: 1.094 kB / 0.59 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.3633, allocations: 174.8 kB / 0.5901 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3633, allocations: 5.719 kB / 0.5901 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.553e-05/0.3633, allocations: 10.64 kB / 0.5901 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3633, allocations: 0.5 kB / 0.5901 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.3634, allocations: 2.062 kB / 0.5901 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3634, allocations: 4 kB / 0.5902 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3634, allocations: 1.625 kB / 0.5902 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.3636, allocations: 171.8 kB / 0.5903 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.3636, allocations: 82.48 kB / 0.5904 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.3636, allocations: 1.594 kB / 0.5904 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.833e-05/0.3637, allocations: 7.812 kB / 0.5904 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.3637, allocations: 5.234 kB / 0.5904 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.3637, allocations: 1.281 kB / 0.5904 GB, free: 21.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.379e-05/0.3638, allocations: 97.52 kB / 0.5905 GB, free: 21.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3638, allocations: 0 / 0.5905 GB, free: 21.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00021/0.364, allocations: 11.19 kB / 0.5905 GB, free: 21.36 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 5.601e-05/0.3641, allocations: 105.3 kB / 0.5906 GB, free: 21.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.3642, allocations: 35.95 kB / 0.5907 GB, free: 21.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3643, allocations: 0 / 0.5907 GB, free: 21.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.618e-05/0.3643, allocations: 24.77 kB / 0.5907 GB, free: 21.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.3646, allocations: 12.61 kB / 0.5907 GB, free: 21.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.3649, allocations: 152 kB / 0.5908 GB, free: 21.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.942e-05/0.365, allocations: 0.6807 MB / 0.5915 GB, free: 20.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.764e-05/0.365, allocations: 4.875 kB / 0.5915 GB, free: 20.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.365, allocations: 11.42 kB / 0.5915 GB, free: 20.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.365, allocations: 1.062 kB / 0.5915 GB, free: 20.29 MB / 446.1 MB Notification: Performance of Templates: time 0.001976/0.367, allocations: 461 kB / 0.592 GB, free: 19.86 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)