Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Diagnostics.Validation.CheckEquality") translateModel(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001575/0.001575, allocations: 100.7 kB / 15.98 MB, free: 6.352 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.001782/0.001782, allocations: 196.9 kB / 16.91 MB, free: 6.188 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.344/1.344, allocations: 222.9 MB / 240.6 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7755/0.7755, allocations: 132.2 MB / 422.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 64.09 kB / 0.5019 GB, free: 12.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3584, allocations: 80.18 MB / 0.5802 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002617/0.3611, allocations: 1.571 MB / 0.5817 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006358/0.3618, allocations: 449.5 kB / 0.5822 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.3618, allocations: 0 / 0.5822 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.3619, allocations: 0.5938 kB / 0.5822 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.528e-05/0.3619, allocations: 8.406 kB / 0.5822 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.3622, allocations: 33.44 kB / 0.5822 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.367e-05/0.3623, allocations: 42.09 kB / 0.5823 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3624, allocations: 19.2 kB / 0.5823 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.3625, allocations: 20.64 kB / 0.5823 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.086e-05/0.3625, allocations: 21.73 kB / 0.5823 GB, free: 25.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.3626, allocations: 3.875 kB / 0.5823 GB, free: 25.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.3626, allocations: 4.938 kB / 0.5823 GB, free: 25.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.3626, allocations: 9.359 kB / 0.5823 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.3626, allocations: 24.77 kB / 0.5824 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.264e-05/0.3627, allocations: 29.83 kB / 0.5824 GB, free: 25.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3627, allocations: 0 / 0.5824 GB, free: 25.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3627, allocations: 3.938 kB / 0.5824 GB, free: 25.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.3628, allocations: 1.344 kB / 0.5824 GB, free: 25.67 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.0004767/0.3632, allocations: 359.5 kB / 0.5827 GB, free: 25.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3633, allocations: 10.03 kB / 0.5827 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.3633, allocations: 9.906 kB / 0.5827 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.282e-05/0.3634, allocations: 175 kB / 0.5829 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.3635, allocations: 6.938 kB / 0.5829 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.3635, allocations: 1.781 kB / 0.5829 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.3637, allocations: 71.92 kB / 0.583 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3637, allocations: 5.25 kB / 0.583 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3637, allocations: 1.094 kB / 0.583 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3637, allocations: 1.281 kB / 0.583 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.3639, allocations: 48.22 kB / 0.583 GB, free: 24.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.3644, allocations: 292.8 kB / 0.5833 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.3647, allocations: 60.58 kB / 0.5834 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.988e-05/0.3648, allocations: 26.97 kB / 0.5834 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.3648, allocations: 3.406 kB / 0.5834 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.3648, allocations: 35.75 kB / 0.5834 GB, free: 24.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3648, allocations: 0 / 0.5834 GB, free: 24.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003792/0.3652, allocations: 83.52 kB / 0.5835 GB, free: 24.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.3652, allocations: 52.25 kB / 0.5836 GB, free: 24.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.852e-05/0.3653, allocations: 121 kB / 0.5837 GB, free: 24.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.3653, allocations: 26.92 kB / 0.5837 GB, free: 24.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.3654, allocations: 94.72 kB / 0.5838 GB, free: 24.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.3654, allocations: 13.62 kB / 0.5838 GB, free: 24.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.3654, allocations: 15.88 kB / 0.5838 GB, free: 24.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.3655, allocations: 323.2 kB / 0.5841 GB, free: 23.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.697e-05/0.3656, allocations: 29.14 kB / 0.5842 GB, free: 23.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.361e-05/0.3657, allocations: 17.23 kB / 0.5842 GB, free: 23.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.3658, allocations: 33.75 kB / 0.5842 GB, free: 23.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3658, allocations: 0 / 0.5842 GB, free: 23.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001915/0.366, allocations: 72.75 kB / 0.5843 GB, free: 23.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3661, allocations: 5.812 kB / 0.5843 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3661, allocations: 1.156 kB / 0.5843 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3661, allocations: 0 / 0.5843 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.671e-05/0.3662, allocations: 10.95 kB / 0.5843 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3662, allocations: 5.031 kB / 0.5843 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.3663, allocations: 7.844 kB / 0.5843 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.3663, allocations: 1.438 kB / 0.5843 GB, free: 23.77 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 5.669e-05/0.3663, allocations: 117.9 kB / 0.5844 GB, free: 23.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.3664, allocations: 7.188 kB / 0.5844 GB, free: 23.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.3664, allocations: 13.69 kB / 0.5845 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3664, allocations: 0 / 0.5845 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3664, allocations: 5.078 kB / 0.5845 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3664, allocations: 0.6875 kB / 0.5845 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.3666, allocations: 176.2 kB / 0.5846 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.3666, allocations: 0 / 0.5846 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.051e-05/0.3667, allocations: 8.688 kB / 0.5846 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3667, allocations: 0 / 0.5846 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3667, allocations: 1.406 kB / 0.5846 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3667, allocations: 0 / 0.5846 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3667, allocations: 7.891 kB / 0.5846 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.3669, allocations: 169.4 kB / 0.5848 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.367, allocations: 78.64 kB / 0.5849 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.367, allocations: 8.578 kB / 0.5849 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.289e-05/0.3671, allocations: 3 kB / 0.5849 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.3671, allocations: 2.75 kB / 0.5849 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.3671, allocations: 1.75 kB / 0.5849 GB, free: 23.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.314e-05/0.3672, allocations: 92.7 kB / 0.585 GB, free: 23.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3672, allocations: 1.906 kB / 0.585 GB, free: 23.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000215/0.3674, allocations: 12.94 kB / 0.585 GB, free: 23.06 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 8.412e-05/0.3675, allocations: 104.3 kB / 0.5851 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.3677, allocations: 34.62 kB / 0.5851 GB, free: 22.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3677, allocations: 1.156 kB / 0.5851 GB, free: 22.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.814e-05/0.3678, allocations: 25.08 kB / 0.5852 GB, free: 22.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.3682, allocations: 10.77 kB / 0.5852 GB, free: 22.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/0.3686, allocations: 184.8 kB / 0.5853 GB, free: 22.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.3687, allocations: 0.6859 MB / 0.586 GB, free: 22.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.3687, allocations: 13.7 kB / 0.586 GB, free: 22.05 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3688, allocations: 2.219 kB / 0.586 GB, free: 22.05 MB / 446.1 MB Notification: Performance of Templates: time 0.002016/0.3708, allocations: 0.7066 MB / 0.5867 GB, free: 21.71 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.sim & ./IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)