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.0009221/0.0009221, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.006004/0.006005, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.33/1.33, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7856/0.7856, allocations: 132.4 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003546, allocations: 8 kB / 0.504 GB, free: 3.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4223, allocations: 81.58 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.001424/0.4238, allocations: 1.239 MB / 0.5849 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005815/0.4244, allocations: 437 kB / 0.5853 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.406e-05/0.4244, allocations: 2.844 kB / 0.5853 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.4245, allocations: 0.7031 kB / 0.5853 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.429e-05/0.4245, allocations: 5.422 kB / 0.5853 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.4247, allocations: 26.22 kB / 0.5853 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.2e-05/0.4248, allocations: 42.89 kB / 0.5854 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.62e-05/0.4249, allocations: 17.59 kB / 0.5854 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.821e-05/0.425, allocations: 22.16 kB / 0.5854 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.425, allocations: 21.86 kB / 0.5854 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.4251, allocations: 1 kB / 0.5854 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.4251, allocations: 2.031 kB / 0.5854 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.4251, allocations: 6.047 kB / 0.5854 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.4251, allocations: 43.23 kB / 0.5855 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.827e-05/0.4252, allocations: 39.98 kB / 0.5855 GB, free: 2.719 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4252, allocations: 0 / 0.5855 GB, free: 2.719 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4252, allocations: 0.5938 kB / 0.5855 GB, free: 2.719 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.4252, allocations: 4 kB / 0.5855 GB, free: 2.715 MB / 430.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.0003841/0.4256, allocations: 360.5 kB / 0.5859 GB, free: 2.348 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.4257, allocations: 10.39 kB / 0.5859 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.4257, allocations: 4.219 kB / 0.5859 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.666e-05/0.4258, allocations: 176 kB / 0.586 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.4258, allocations: 2.375 kB / 0.586 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.4258, allocations: 11.44 kB / 0.5861 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.426, allocations: 68.2 kB / 0.5861 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.4261, allocations: 0.6094 kB / 0.5861 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.4261, allocations: 1.062 kB / 0.5861 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4261, allocations: 0.9062 kB / 0.5861 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.4263, allocations: 51.41 kB / 0.5862 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.4267, allocations: 296.8 kB / 0.5865 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.427, allocations: 73.77 kB / 0.5865 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.4272, allocations: 27.19 kB / 0.5866 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.4272, allocations: 4.75 kB / 0.5866 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.4272, allocations: 36.03 kB / 0.5866 GB, free: 1.691 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.4272, allocations: 4 kB / 0.5866 GB, free: 1.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003951/0.4276, allocations: 104.5 kB / 0.5867 GB, free: 1.637 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.4277, allocations: 52.38 kB / 0.5867 GB, free: 1.574 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.734e-05/0.4277, allocations: 123.3 kB / 0.5869 GB, free: 1.465 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/0.4278, allocations: 26.33 kB / 0.5869 GB, free: 1.434 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.4278, allocations: 88.16 kB / 0.587 GB, free: 1.348 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.4278, allocations: 13.36 kB / 0.587 GB, free: 1.336 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.4278, allocations: 11.31 kB / 0.587 GB, free: 1.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.9e-05/0.4279, allocations: 326.4 kB / 0.5873 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.793e-05/0.428, allocations: 17.69 kB / 0.5873 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.033e-05/0.4281, allocations: 25.47 kB / 0.5873 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.4283, allocations: 54.34 kB / 0.5874 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4283, allocations: 0.8438 kB / 0.5874 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000221/0.4285, allocations: 79.39 kB / 0.5875 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.4285, allocations: 5.594 kB / 0.5875 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4285, allocations: 0 / 0.5875 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.4286, allocations: 5.766 kB / 0.5875 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.357e-05/0.4287, allocations: 14.75 kB / 0.5875 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4287, allocations: 0.8438 kB / 0.5875 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.138e-05/0.4287, allocations: 10.91 kB / 0.5875 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.4288, allocations: 2.297 kB / 0.5875 GB, free: 0.9102 MB / 430.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.94e-05/0.4288, allocations: 112 kB / 0.5876 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.4288, allocations: 6.828 kB / 0.5876 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.4289, allocations: 10.98 kB / 0.5876 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.4289, allocations: 1.594 kB / 0.5876 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4289, allocations: 0 / 0.5876 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.4289, allocations: 0.75 kB / 0.5876 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.429, allocations: 176.6 kB / 0.5878 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4291, allocations: 4.656 kB / 0.5878 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.927e-05/0.4291, allocations: 11.5 kB / 0.5878 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4291, allocations: 1.219 kB / 0.5878 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.4292, allocations: 0.6094 kB / 0.5878 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4292, allocations: 1.688 kB / 0.5878 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.4292, allocations: 0 / 0.5878 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.4294, allocations: 179.8 kB / 0.588 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/0.4295, allocations: 83.14 kB / 0.5881 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.4295, allocations: 0.9062 kB / 0.5881 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.946e-05/0.4296, allocations: 7.047 kB / 0.5881 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.4296, allocations: 2.828 kB / 0.5881 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.4296, allocations: 0.7812 kB / 0.5881 GB, free: 328 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.233e-05/0.4297, allocations: 105.6 kB / 0.5882 GB, free: 240 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4297, allocations: 3.938 kB / 0.5882 GB, free: 236 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.4299, allocations: 9.625 kB / 0.5882 GB, free: 232 kB / 430.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 7.268e-05/0.43, allocations: 98.28 kB / 0.5883 GB, free: 136 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002488/0.4302, allocations: 47.12 kB / 0.5883 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4303, allocations: 4 kB / 0.5883 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.4304, allocations: 21.05 kB / 0.5884 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.4307, allocations: 9 kB / 0.5884 GB, free: 120 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.431, allocations: 172.7 kB / 0.5885 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.4313, allocations: 0.6826 MB / 0.5892 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.249e-05/0.4313, allocations: 2.812 kB / 0.5892 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.4313, allocations: 10.58 kB / 0.5892 GB, free: 15.27 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4313, allocations: 0 / 0.5892 GB, free: 15.27 MB / 446.1 MB Notification: Performance of Templates: time 0.00254/0.4339, allocations: 425.5 kB / 0.5896 GB, free: 15.2 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)